|
|
||||||
Differences for “ Help On Processing Instructions ”Difference from revision 1 to
the current revision.
(Display latest version) Show differences from: Last major revision | Last minor revision | Previous author | <Include(HelpMenu)>
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
OpenWiki.
<TableOfContents/>
=== #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 WikiSandBox you will be redirected to SandBox.
Editing a redirected page is easy. In the above example, after you've been
redirected, simply click on the title WikiSandBox 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.
<Anchor("deprecated")>
=== #DEPRECATED ===
The {{{#DEPRECATED}}} processing instruction is used to mark a page as being
deprecated. A deprecated page will be deleted after a certain number of days
(determined by the administrator of this website).
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.
----
CategoryHelp
|
||||||
|
|
||||||
| Article List | TOS Contact Webmaster ![]() | This
wiki is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. |