Difference between revisions of "XmlWiki"
From Organic Design wiki
Line 18: | Line 18: | ||
'''Implimenting the Hack''' | '''Implimenting the Hack''' | ||
− | Line 222 of index.php is changed from | + | 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: | |
− | + | *[[wikicm.php]] | |
− | |||
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 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. | ||
− | |||
*[[User]] | *[[User]] | ||
*[[Group]] | *[[Group]] | ||
Line 40: | Line 37: | ||
*[[Publish]] | *[[Publish]] | ||
− | + | The following output transform functions that have been added: | |
− | |||
− | |||
− | The transform functions that have been added | ||
*[[IncludeAll]] | *[[IncludeAll]] | ||
*[[OulineNumber]] | *[[OulineNumber]] |
Revision as of 23:05, 20 May 2005
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: