Difference between revisions of "WikiDebug"

From TestWiki
Jump to: navigation, search
m (+show_version)
m (Tweak wording)
Line 1: Line 1:
 
This extension contains a small set of tools that I find useful when debugging my extensions.
 
This extension contains a small set of tools that I find useful when debugging my extensions.
  
Currently the extension contains the following tools:  
+
Currently the extension adds the following tags that can be used within your wiki:
* '''[[/describe_table/]]''' - Displays information about the specified database table within the wiki.
+
* '''[[/describe_table/]]''' - Displays information about the specified database table.
* '''[[/show_source/]]''' - Outputs the contents of the specified file within the wiki.
+
* '''[[/show_source/]]''' - Outputs the contents of the specified file.
* '''[[/show_version/]]''' - Displays the revision number of the specified file.
+
* '''[[/show_version/]]''' - Displays the Subversion revision number of the specified file.
  
 
The source is available under [[/show_source#Example 1: WikiDebug.php|example 1 of the show_source page]].
 
The source is available under [[/show_source#Example 1: WikiDebug.php|example 1 of the show_source page]].

Revision as of 01:42, 19 July 2007

This extension contains a small set of tools that I find useful when debugging my extensions.

Currently the extension adds the following tags that can be used within your wiki:

  • describe_table - Displays information about the specified database table.
  • show_source - Outputs the contents of the specified file.
  • show_version - Displays the Subversion revision number of the specified file.

The source is available under example 1 of the show_source page.