Magic Php Wiki UR LsAbout phpwiki: URLsA special type of URL is available for making links to perform administrative and other special functions in Php Wiki. Here is a brief description of how they work. The basic syntax of a phpwiki: URL is phpwiki:pagename?query-args If pagename is omitted it defaults to the current page. Query-args should be a set of parameters in standard HTTP GET format. The "action=x" parameter should almost always be given. It can be one of browse, info, diff, search, edit, zip, dumpserial, loadserial, remove, lock, unlock, login, logout, setprefs or save. The default action is browse. Some of the actions accept other parameters.
Writing Magic Links in Wiki PagesA magic link looks like: [ text | phpwiki-url ] The "text |" is optional but usually recommended. If given it will provide the label for the link. The phpwiki-url is a phpwiki: URL as described above. Some examples[ Edit the SandBox | phpwiki:SandBox?action=edit ] will generate a link which will take you directly to editing the Sand Box, like so: Edit the SandBox. Other possibilites: Writing Magic Forms in Wiki PagesNote: Magic forms are on their way out, I think. They are being superceded by <?plugin-form>s. If one of the query-args has a value like arg=opt-width(opt-dflt-val) the link will be rendered as a form, rather than as an anchor. Opt-width, if given specifies the size of the input area, while opt-dflt-val specifies the default value for the input. If text is given in the link, then a submit-button with that label will be included in the form, otherwise the submit button will be omitted. Examples: [ Full Search | phpwiki:Full Text Search?s=() ] gives
While [ phpwiki:Title Search?s=12() ] yields
Other examples:
Pages that link to this page: Wiki Plugin |
|
Home / Index
Events Calendar / News
History / People / Talk
|
Last edited on January 23, 2002.
Contact: 0113 3433859 / info@burleygreen.com / web@burleygreen.com
| Contributed Comments Magic Php Wiki UR Ls |
|
| There are no user contributed comments for this page. | |