Extension:DocProc
From MediaWiki.org
|
DocProc Release status: beta |
|
|---|---|
| Implementation | Tag |
| Description | |
| Author(s) | user:jldupont |
| Last version | See SVN |
| MediaWiki | tested on 1.10 but probably works with a earlier versions |
| License | No license specified |
| Download | SVN |
| Check usage and version matrix; stats | |
Contents |
Purpose[edit]
Serves to document markup/magic words whilst still executing them as per required.
Features[edit]
- Documents all wikitext types by enclosing the said wikitext in either 'code' or 'pre' tags
- Executes the passed wikitext as per usual processing flow
- Secure: only predefined HTML documentation tags can be specified
- Currently, only the 'pre' and 'code' tags are supported
Usage[edit]
Let's say one wants to document & still execute the following wikitext:
- <docproc tag=code>{{CURRENTTIME}}</docproc>10:18
- Here the wikitext magic word CURRENTTIME would be executed and the result would be presented next to the 'documented' wikitext enclosed inside a 'code' section.
Target Application[edit]
The envisaged target application for this extension is to document wikitext that produces no direct user visible results.
Dependencies[edit]
Installation[edit]
To install independantly from BizzWiki:
- Download 'ExtensionClass' extension
- Apply the following changes to 'LocalSettings.php'
require('extensions/ExtensionClass.php'); require('extensions/DocProc/DocProc.php');
See also[edit]
This extension is part of the BizzWiki platform.
