<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>HelpOnActions</title></articleinfo><section><title>Actions</title><para>Actions are tools that work on a page or the whole wiki, but unlike macros they do not add <emphasis>to</emphasis> the page content when viewing a page, rather they work <emphasis>on</emphasis> that page content. They either produce some output based on page contents (navigational actions like searching) or implement functions that are not related to viewing a page (like deleting or renaming a page). </para><para>There is a set of system-defined actions, which includes page editing; you can extend the set of known actions by your own ones. </para><para>The following actions are added to the list of user-defined extension actions at the bottom of each page (or in the &quot;More actions&quot; menu). This happens to any mixed-case extension, for other actions (all lower-case) see the list further down this page. Some of these action might not be available for your wiki site. </para><informaltable><tgroup cols="2"><colspec colname="col_0" colwidth="25*"/><colspec colname="col_1"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Action</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Description</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>AttachFile</code> </para></entry><entry colsep="1" rowsep="1"><para> Attach files to a page, see <ulink url="https://wiki.helsinki.at/HelpOnActions/HelpOnActions/AttachFile#">/AttachFile</ulink> for more details. NOTE: This action is not granted if you are not logged in. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>CopyPage</code> </para></entry><entry colsep="1" rowsep="1"><para> Copy a page, after you confirmed it. All subpages could be copied too. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>DeletePage</code> </para></entry><entry colsep="1" rowsep="1"><para> Delete a page, after you confirmed it; deletion means a final backup copy is created and only then the page is deleted, i.e. you can <emphasis>revive</emphasis> the page later on (as long as the backups are not physically deleted). All subpages could be deleted too. NOTE: This action is not granted if you are not logged in. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>RenamePage</code> </para></entry><entry colsep="1" rowsep="1"><para> Rename a page, after you confirmed it. All subpages could be renamed too. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>LikePages</code> </para></entry><entry colsep="1" rowsep="1"><para> List pages whose title starts or ends with the same <ulink url="http://www.usemod.com/cgi-bin/mb.pl?WikiWord#">WikiWord</ulink> as the current page title. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>LocalSiteMap</code> </para></entry><entry colsep="1" rowsep="1"><para> Show nearby links of the current page, i.e. list all referred-to pages, and in turn their references, to a certain limited depth. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>SlideShow</code> </para></entry><entry colsep="1" rowsep="1"><para> Treat a wiki page as a set of slides.  Displays a single slide at a time, along with a navigation aid; see <ulink url="https://wiki.helsinki.at/HelpOnActions/HelpOnSlideShows#">HelpOnSlideShows</ulink> for more. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>SpellCheck</code> </para></entry><entry colsep="1" rowsep="1"><para> Call the spell checker for the current page; see <ulink url="https://wiki.helsinki.at/HelpOnActions/HelpOnSpellCheck#">HelpOnSpellCheck</ulink> for more. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>SubscribeUser</code> </para></entry><entry colsep="1" rowsep="1"><para> Administrators can use it to subscribe other users to pages. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>SyncPages</code> </para></entry><entry colsep="1" rowsep="1"><para> Used to synchronise different wiki sites. See <ulink url="https://wiki.helsinki.at/HelpOnActions/HelpOnSynchronisation#">HelpOnSynchronisation</ulink>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>Load</code> </para></entry><entry colsep="1" rowsep="1"><para> Used to load a page into the wiki or an attachment onto the current. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>Save</code> </para></entry><entry colsep="1" rowsep="1"><para> Used to save a page of the wiki into a text file. </para></entry></row></tbody></tgroup></informaltable><para>The following is a list of <emphasis>internal</emphasis> actions that are used to implement the various icons and links at the top and bottom of pages, or supplement certain macros. </para><informaltable><tgroup cols="2"><colspec colname="col_0" colwidth="25*"/><colspec colname="col_1"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Action</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Description</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>titleindex</code></para></entry><entry colsep="1" rowsep="1"><para> Implements the listing of all page names as text (append <code>?action=titleindex</code> to your wiki address) or XML (<code>?action=titleindex&amp;mimetype=text/xml</code>); the main use of this action is to enable <ulink url="http://www.usemod.com/cgi-bin/mb.pl?MetaWiki#">MetaWiki</ulink>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>fullsearch</code></para></entry><entry colsep="1" rowsep="1"><para> This action is triggered by clicking on the &quot;Search Text&quot; button of the <code>FullSearch</code> macro (<code>?action=fullsearch&amp;value=HelpOnActions</code>). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>titlesearch</code></para></entry><entry colsep="1" rowsep="1"><para> This action is triggered by clicking on the &quot;Search Titles&quot; button of the <code>TitleSearch</code> macro (<code>?action=titlesearch&amp;value=HelpOnActions</code>). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>inlinesearch</code></para></entry><entry colsep="1" rowsep="1"><para> This implements the inline search for the form fields at the bottom of each page (note that this uses POST requests, so you won't normally see this action in URLs). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>highlight</code></para></entry><entry colsep="1" rowsep="1"><para> Highlight the search word when you click on a link in a search result list. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>diff</code></para></entry><entry colsep="1" rowsep="1"><para> Display differences between page revisions. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>info</code></para></entry><entry colsep="1" rowsep="1"><para> Show meta-data on a page. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>login</code></para></entry><entry colsep="1" rowsep="1"><para> Log into the wiki. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>newaccount</code> </para></entry><entry colsep="1" rowsep="1"><para> Create a new user account on the wiki. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>recall</code></para></entry><entry colsep="1" rowsep="1"><para> Display an older revision of a page. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>show</code></para></entry><entry colsep="1" rowsep="1"><para> Display a page (the default action). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>refresh</code></para></entry><entry colsep="1" rowsep="1"><para> Refresh the cached version of a page (currently only used on XSLT-formatted pages). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>print</code></para></entry><entry colsep="1" rowsep="1"><para> Show the print-view of a page, which omits the navigational items from the display view. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>edit</code></para></entry><entry colsep="1" rowsep="1"><para> Edit this page. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>savepage</code></para></entry><entry colsep="1" rowsep="1"><para> Save this page (do not ever use this manually). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>subscribe</code></para></entry><entry colsep="1" rowsep="1"><para> Subscribe to a page. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>userform</code></para></entry><entry colsep="1" rowsep="1"><para> Save user preferences. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>bookmark</code></para></entry><entry colsep="1" rowsep="1"><para> Set bookmark for <ulink url="https://wiki.helsinki.at/HelpOnActions/RecentChanges#">RecentChanges</ulink>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>raw</code></para></entry><entry colsep="1" rowsep="1"><para> Send the raw wiki markup as text/plain (e.g. for backup purposes via wget); <code>SystemInfo?action=raw</code> will show the markup of <ulink url="https://wiki.helsinki.at/HelpOnActions/SystemInfo#">SystemInfo</ulink>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>format</code></para></entry><entry colsep="1" rowsep="1"><para> Emit specially formatted views of a page. Parameter <code>mimetype</code> specifies the wanted mime-type.  You can generate <emphasis role="strong">DocBook</emphasis> markup from your pages by appending <code>?action=format&amp;mimetype=xml/docbook</code> to the address (note: you need to install PyXML to use it). </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>rss_rc</code></para></entry><entry colsep="1" rowsep="1"><para> Generate a RSS feed of <ulink url="https://wiki.helsinki.at/HelpOnActions/RecentChanges#">RecentChanges</ulink>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>chart</code></para></entry><entry colsep="1" rowsep="1"><para> Display charts. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>export</code></para></entry><entry colsep="1" rowsep="1"><para> Export the wiki content. NOTE: this is currently experimental. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>content</code></para></entry><entry colsep="1" rowsep="1"><para> For transclusion into static web pages, this action emits the pure page content, without any &lt;html&gt;, &lt;head&gt;, or &lt;body&gt; tags. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>links</code></para></entry><entry colsep="1" rowsep="1"><para> Generates a list of all pages and the links on them, just like <ulink url="http://www.usemod.com/cgi-bin/mb.pl?LinkDatabase#">LinkDatabase</ulink>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>sitemap</code></para></entry><entry colsep="1" rowsep="1"><para> Generates a Google XML sitemap, see <ulink url="http://www.google.com/webmasters/sitemaps/docs/en/protocol.html">Sitemap protocol</ulink>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>xmlrpc</code> and <code>xmlrpc2</code> </para></entry><entry colsep="1" rowsep="1"><para> Wiki XML-RPC interface, see <ulink url="http://www.usemod.com/cgi-bin/mb.pl?XmlRpcToWiki#">XmlRpcToWiki</ulink>. By default this is disabled by <code>actions_excluded</code>. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>revert</code></para></entry><entry colsep="1" rowsep="1"><para> Revert to an older version of the page. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>showtags</code></para></entry><entry colsep="1" rowsep="1"><para> Dumps all sync tags related to the page. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>thread_monitor</code></para></entry><entry colsep="1" rowsep="1"><para> Dumps the tracebacks of all current running threads. Note that you must enable the thread monitor support by putting the line <code> from MoinMoin.util.thread_monitor import activate_hook; activate_hook()</code> at the top of  your CGI/FCGI/... python file. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>supplementation</code></para></entry><entry colsep="1" rowsep="1"><para> Calls a supplementation page e.g. discussion for a page. </para></entry></row></tbody></tgroup></informaltable></section></article>