-<ow:page name="HelpMenu" changes="2" lastminor="2" lastmajor="2"> <ow:link name="HelpMenu" href="ow.asp?HelpMenu" date="2005-05-02T12:00:00+01:00">Help Menu</ow:link>
-<ow:change revision="2" status="new" minor="false"> <ow:by name="127.0.0.xxx" />
<ow:date>2005-05-02T12:00:00+01:00</ow:date>
</ow:change>
<ow:link name="HelpOnEditing" href="ow.asp?HelpOnEditing" date="2005-05-02T12:00:00+01:00">Editing</ow:link>
|
<ow:link name="HelpOnFormatting" href="ow.asp?HelpOnFormatting" date="2005-05-02T12:00:00+01:00">Formatting</ow:link>
|
<ow:link name="HelpOnEmoticons" href="ow.asp?HelpOnEmoticons" date="2005-05-02T12:00:00+01:00">Emoticons</ow:link>
|
<ow:link name="HelpOnHeaders" href="ow.asp?HelpOnHeaders" date="2005-05-02T12:00:00+01:00">Headers</ow:link>
|
<ow:link name="HelpOnLinking" href="ow.asp?HelpOnLinking" date="2005-05-02T12:00:00+01:00">Linking</ow:link>
|
<ow:link name="HelpOnMacros" href="ow.asp?HelpOnMacros" date="2005-05-02T12:00:00+01:00">Macros</ow:link>
| Processing Instructions |
<ow:link name="HelpOnTables" href="ow.asp?HelpOnTables" date="2005-05-02T12:00:00+01:00">Tables</ow:link>
</ow:body>
</ow:page>
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
<ow:link name="OpenWiki" href="ow.asp?OpenWiki" date="2005-05-02T12:00:00+01:00">Open Wiki</ow:link>
.
<a href="#h1">#REDIRECT</a>
</li>
<a href="#h2">#RANDOMPAGE</a>
</li>
<a href="#h3">#DEPRECATED</a>
</li>
</dl>
The syntax for this processing instruction is:
<pre class="code">
#REDIRECT <PageName>
</pre>
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
. 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
<ow:link name="WikiSandBox" href="ow.asp?p=WikiSandBox&a=edit">WikiSandBox</ow:link>
you will be redirected to
<ow:link name="SandBox" href="ow.asp?p=SandBox&a=edit">SandBox</ow:link>
.
Editing a redirected page is easy. In the above example, after you've been redirected, simply click on the title
<ow:link name="WikiSandBox" href="ow.asp?p=WikiSandBox&a=edit">WikiSandBox</ow:link>
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.
This is a special case of the
processing instruction. If the
processing instruction appears on the first line of a page you will be redirected to a random page.
The
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
in the Find box below a page and hitting the search button. Or see
<ow:link name="DeprecatedPages" href="ow.asp?p=DeprecatedPages&a=edit">DeprecatedPages</ow:link>
.
<ow:link name="CategoryHelp" href="ow.asp?CategoryHelp" date="2005-05-02T12:00:00+01:00">Category Help</ow:link>
</ow:body>