Actions

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

BR

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

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

DeletePage

BR

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

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

RenamePage

BR

Rename a page, after you confirmed it.

LikePages

BR

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

LocalSiteMap

BR

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

BR

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

SubscribeUser

BR

Administrators can use it to subscribe other users to pages

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

BR

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

BR

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

titlesearch

BR

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

inlinesearch

BR

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

BR

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

diff

BR

display differences between page revisions.

info

BR

show meta-data on a page.

recall

BR

display an older revision of a page.

show

BR

display a page (the default action).

refresh

BR

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

print

BR

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

edit

BR

edit this page.

savepage

BR

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

subscribe

BR

subscribe to a page.

userform

BR

save user preferences.

bookmark

BR

set bookmark for RecentChanges.

raw

BR

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

BR

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

BR

generate a RSS feed of RecentChanges.

chart

BR

display charts.

export

BR

export the wiki content.

[experimental]

content

BR

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

links

BR

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

sitemap

BR

generates a Google XML sitemap, see [http://www.google.com/webmasters/sitemaps/docs/en/protocol.html Sitemap protocol]

xmlrpc

BR

Wiki XML-RPC interface, see XmlRpcToWiki.

revert

BR

revert to an older version of the page.