Wiki Options:
Wiki Home
| Browse
| Search
| Create New Page
| Recent Changes
| Help
Viewing Page: Help On Processing Instructions
Help On: Editing |
Formatting |
Emoticons |
Headers |
Linking |
Macros | Processing Instructions |
Tables
Processing instructions control how a page is processed. Processing instructions must be entered at the first line, start with a hash (
#) character followed by a keyword in capital letters and optionally followed by a space and an argument. Below are the processing instructions recognized by
Open Wiki.
#REDIRECT
#RANDOMPAGE
#DEPRECATED
#REDIRECT
The syntax for this processing instruction is:
#REDIRECT <PageName>
If this processing instruction appears on the first line of a page the contents of the page will not be shown, instead you will be redirected to the page
<PageName>. This is useful because it allows similar pagenames to share the same page content. Redirections are not recursive, only the first redirection will be used.
Example: if you go to
Wiki Sand Box you will be redirected to
Sand Box.
Editing a redirected page is easy. In the above example, after you've been redirected, simply click on the title
Wiki Sand Box and you're in the edit mode of that page. Click on the "Preview" button if you then want to see the page as it would look like if it wasn't redirected.
#RANDOMPAGE
This is a special case of the
#REDIRECT processing instruction. If the
#RANDOMPAGE processing instruction appears on the first line of a page you will be redirected to a random page.
#DEPRECATED
The
#DEPRECATED processing instruction is used to mark a page as being deprecated. A deprecated page will be deleted if it is not edited again for 30 days.
When you deprecate a page you should remove and/or change all references to the page. You can find all the references to the deprecated page by clicking on it's title at the top.
You can see which pages are deprecated and about to be destroyed permanently by entering the string
^#DEPRECATED in the Find box below a page and hitting the search button. Or see DeprecatedPages
?.
Category Help
Edit Page Using this Revision
| Recent Revisions
| Printable Version
Last edited March 2, 2007