Difference between revisions of "WikiDebug"

From TestWiki
Jump to: navigation, search
m (Tweak wording)
m (Formatting)
Line 2: Line 2:
  
 
Currently the extension adds the following tags that can be used within your wiki:
 
Currently the extension adds the following tags that can be used within your wiki:
 +
<div style="border: 1px solid #CCCCCC; padding: 0.2em 0.5em 0.5em 0.5em; margin: 1em;">
 
* '''[[/describe_table/]]''' - Displays information about the specified database table.
 
* '''[[/describe_table/]]''' - Displays information about the specified database table.
 
* '''[[/show_source/]]''' - Outputs the contents of the specified file.
 
* '''[[/show_source/]]''' - Outputs the contents of the specified file.
 
* '''[[/show_version/]]''' - Displays the Subversion revision number of the specified file.
 
* '''[[/show_version/]]''' - Displays the Subversion revision number of the specified file.
 +
</div>
  
 +
'''Current version: <show_version file="WikiDebug.php" />'''<br>
 
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 17:27, 13 February 2008

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.

Current version: (rev 2439)
The source is available under example 1 of the show_source page.