XmlWiki
From Organic Design wiki
The Proposed WikiCM Hack
WikiCM is a hack not done the proper way: it is a modification of the index.php page offering three new features which are all maintained from editing normal wiki articles.
- A permissions structure offering basic read/write control over articles with users and groups.
- PHP Functions can be created and maintained by developers and can be dynamically applied to articles before rendering.
- Articles can made to automatically publish remotely over HTTP or FTP when edits are saved.
The hack requires four hooks into the current Wiki environment
- articleRender (done)
- articleRequest (done)
- articleChange (done)
- userName (done)
Implimenting the Hack
Line 222 of index.php is changed from $wgOut->output(); to require('wikicm.php');
New Special-Purpose Articles
The WikiCM hack is a script called wikicm.php which is itself published from the following article:
The new functionality is achieved by including the following links in articles followed by a list of parameters and other links. Each of these is also an article covering the specifics of its parameters and use.
The following output transform functions that have been added: