JedcTestsuiteWiki

Actions

Actions are tools that work on a page or the whole wiki, but unlike macros they do not add to the page content when viewing a page, rather they work on 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).

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 HelpForDevelopers for more on that.

The following actions are added to the list of user-defined extension actions at the bottom of each page (or in the "More actions" 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.

Action

Description

Remark

AttachFile


attach files to a page, see /AttachFile for more details.

This action is not granted if you are not logged in.

CopyPage


Copy a page, after you confirmed it. All subpages could be copied too.

DeletePage


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 revive the page later on (as long as the backups are not physically deleted). All subpages could be deleted too.

This action is not granted if you are not logged in.

RenamePage


Rename a page, after you confirmed it. All subpages could be renamed too.

LikePages


list pages whose title starts or ends with the same WikiWord as the current page title.

LocalSiteMap


show nearby links of the current page, i.e. list all referred-to pages, and in turn their references, to a certain limited depth.

SpellCheck


call the spell checker for the current page; see HelpOnSpellCheck for more.

SubscribeUser


Administrators can use it to subscribe other users to pages

SyncPages


Used to synchronise different wiki sites. See HelpOnSynchronisation.

Load


Used to load a page into the wiki or an attachment onto the current.

Save


Used to save a page of the wiki into a text file

The following is a list of internal actions that are used to implement the various icons and links at the top and bottom of pages, or supplement certain macros.

Action

Description

Remark

titleindex


Implements the listing of all page names as text (append ?action=titleindex to your wiki address) or XML (?action=titleindex&mimetype=text/xml); the main use of this action is to enable MetaWiki.

fullsearch


this action is triggered by clicking on the "Search Text" button of the FullSearch macro (?action=fullsearch&value=HelpOnActions).

titlesearch


this action is triggered by clicking on the "Search Titles" button of the TitleSearch macro (?action=titlesearch&value=HelpOnActions).

inlinesearch


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).

highlight


highlight the search word when you click on a link in a search result list.

diff


display differences between page revisions.

info


show meta-data on a page.

login


log into the wiki.

recall


display an older revision of a page.

show


display a page (the default action).

refresh


refresh the cached version of a page (currently only used on XSLT-formatted pages).

print


show the print-view of a page, which omits the navigational items from the display view.

edit


edit this page.

savepage


save this page (do not ever use this manually).

subscribe


subscribe to a page.

userform


save user preferences.

bookmark


set bookmark for RecentChanges.

raw


send the raw wiki markup as text/plain (e.g. for backup purposes via wget); SystemInfo?action=raw will show the markup of SystemInfo.

format


emit specially formatted views of a page. Parameter mimetype specifies the wanted mime-type.

You can generate DocBook markup from your pages by appending ?action=format&mimetype=xml/docbook to the address. Note that you need to install PyXML to use it.

rss_rc


generate a RSS feed of RecentChanges.

chart


display charts.

export


export the wiki content.

[experimental]

content


for transclusion into static web pages, this action emits the pure page content, without any <html>, <head>, or <body> tags.

links


generates a list of all pages and the links on them, just like LinkDatabase.

sitemap


generates a Google XML sitemap, see Sitemap protocol

xmlrpc and xmlrpc2


Wiki XML-RPC interface, see XmlRpcToWiki.

By default this is disabled by actions_excluded.

revert


revert to an older version of the page.

showtags


dumps all sync tags related to the page.

thread_monitor


Dumps the tracebacks of all current running threads. Note that you must enable the thread monitor support by putting the line  from MoinMoin.util.thread_monitor import activate_hook; activate_hook() at the top of your CGI/FCGI/... python file.

supplementation


calls a supplementation page e.g. discussion for a page