<?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. See <ulink url="http://wiki.ninux.org/HelpOnActions/HelpForDevelopers#">HelpForDevelopers</ulink> for more on that. </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="3"><colspec colname="col_0" colwidth="5*"/><colspec colname="col_1" colwidth="75*"/><colspec colname="col_2"/><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><entry colsep="1" rowsep="1"><para><emphasis role="strong">Remark</emphasis></para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>AttachFile</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> attach files to a page, see <ulink url="http://wiki.ninux.org/HelpOnActions/HelpOnActions/AttachFile#">/AttachFile</ulink> for more details. </para></entry><entry colsep="1" rowsep="1"><para> This action is not granted if you are not logged in. </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>CopyPage</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> Copy a page, after you confirmed it. All subpages could be copied too.</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>DeletePage</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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.</para></entry><entry colsep="1" rowsep="1"><para> This action is not granted if you are not logged in. </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>RenamePage</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> Rename a page, after you confirmed it. All subpages could be renamed too.</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>LikePages</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>LocalSiteMap</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>SpellCheck</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para>call the spell checker for the current page; see <ulink url="http://wiki.ninux.org/HelpOnActions/HelpOnSpellCheck#">HelpOnSpellCheck</ulink> for more. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>SubscribeUser</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> Administrators can use it to subscribe other users to pages </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>SyncPages</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> Used to synchronise different wiki sites. See <ulink url="http://wiki.ninux.org/HelpOnActions/HelpOnSynchronisation#">HelpOnSynchronisation</ulink>. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>Load</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> Used to load a page into the wiki or an attachment onto the current. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>Save</code>     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> Used to save a page of the wiki into a text file</para></entry><entry colsep="1" rowsep="1"/></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="3"><colspec colname="col_0" colwidth="5*"/><colspec colname="col_1" colwidth="75*"/><colspec colname="col_2" colwidth="20*"/><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><entry colsep="1" rowsep="1"><para><emphasis role="strong">Remark</emphasis></para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>titleindex</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>fullsearch</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>titlesearch</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>inlinesearch</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>highlight</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> highlight the search word when you click on a link in a search result list.</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>diff</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> display differences between page revisions.</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>info</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> show meta-data on a page.</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>login</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> log into the wiki.</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>recall</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> display an older revision of a page.</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>show</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> display a page (the default action).</para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>refresh</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> refresh the cached version of a page (currently only used on XSLT-formatted pages). </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>print</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> show the print-view of a page, which omits the navigational items from the display view. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>edit</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> edit this page. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>savepage</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> save this page (do not ever use this manually). </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>subscribe</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> subscribe to a page. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>userform</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> save user preferences. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>bookmark</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> set bookmark for <ulink url="http://wiki.ninux.org/HelpOnActions/RecentChanges#">RecentChanges</ulink>. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>raw</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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="http://wiki.ninux.org/HelpOnActions/SystemInfo#">SystemInfo</ulink>. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>format</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> emit specially formatted views of a page. Parameter <code>mimetype</code> specifies the wanted mime-type. </para></entry><entry colsep="1" rowsep="1"><para>You can generate <emphasis role="strong"><ulink url="http://wiki.ninux.org/HelpOnActions/DocBook#">DocBook</ulink></emphasis> markup from your pages by appending <code>?action=format&amp;mimetype=xml/docbook</code> to the address. Note that you need to install PyXML to use it. </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>rss_rc</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> generate a RSS feed of <ulink url="http://wiki.ninux.org/HelpOnActions/RecentChanges#">RecentChanges</ulink>. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>chart</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> display charts. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>export</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> export the wiki content. </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>[experimental]</emphasis>  </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>content</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>links</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>sitemap</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> generates a Google XML sitemap, see <ulink url="http://www.google.com/webmasters/sitemaps/docs/en/protocol.html">Sitemap protocol</ulink></para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>xmlrpc</code> and <code>xmlrpc2</code> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> Wiki XML-RPC interface, see <ulink url="http://www.usemod.com/cgi-bin/mb.pl?XmlRpcToWiki#">XmlRpcToWiki</ulink>. </para></entry><entry colsep="1" rowsep="1"><para> By default this is disabled by <code>actions_excluded</code>. </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>revert</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> revert to an older version of the page. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>showtags</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> dumps all sync tags related to the page. </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>thread_monitor</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><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><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para><code>supplementation</code>    </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1" valign="top"><para> calls a supplementation page e.g. discussion for a page </para></entry><entry colsep="1" rowsep="1"/></row></tbody></tgroup></informaltable></section></article>