Extension:WikiDebug/en
From Linux Web Expert
WikiDebug Release status: stable |
|
---|---|
Implementation | Tag |
Description | A few debugging tools I find useful. |
Author(s) | Mark Clements (HappyDogtalk) |
Latest version | r2439 |
MediaWiki | |
License | CC BY-SA 2.5 or later |
Download | Source is available at my test wiki |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
This extension contains a small set of tools that I find useful when debugging my extensions, or when making them available to others. I periodically add tools as I find a need, and may consider requests from other people if I find them interesting or useful enough.
<describe_table>
- allows you to output the structure of a DB table on a wiki page.<show_source>
- displays the contents of a named file on a wiki page.<show_version>...</show_version>
- displays the Subversion revision number of the specified file.- {{#IfExtensionPresent: ...}} - Parser hook so you can alter page content depending on whether an extension is installed on the wiki.
Download
For full details, source code and examples see my test wiki.