Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
F: +44 (0)8456 446 899 / +44 (0)1223 359459

Page actions are applied to wiki pages, as a query string appended to the URL. Security can be applied to all default actions, and script actions with one exception, but not diag actions, through the use of passwords.

Also documented are all other URL queries.

NOTE: All actions will be disabled if the following is set:

    $EnableActions = 0;

This will initialize PmWiki (along with any configuration/customizations that are being made, e.g. from local/config.php), but won't actually perform any actions. The caller can then call the desired action or other functions as desired. This is available from Version 2.2.0-beta22 on up.

PmWiki Actions

See also site page actions.

displays dialog for setting/changing password of the specified page or group of pages, see passwords, see also $EnablePostAttrClearSession if you do not want to have the session cleared after validating change General use of passwords and login

display the specified page (default action if no ?action= is present)

displays a form for generating hashed passwords out of clear text for usage in your config.php

show a change history of the specified page, see page history History of previous edits to a page

retrieve the page's attachment named file.ext, see $EnableDirectDownload

edit the specified page, see basic editing PmWiki's basic edit syntax

prompt visitor for username/password, by default using Site.AuthForm

remove author, password, and login information

display the specified page using the skin specified by $ActionSkin['print']

bring up the reference count form, which allows the user to generate a list of links (all, missing, existing or orphaned) in or from specified groups. See Ref Count Link references counts on pages . Part of the core distribution but must be enabled by the administrator.

displays searchbox on current page, see search Targeting and customising search results
performs search with searchterm and displays results on current page
performs backlinks search with pagename and displays results on current page

show page source

If web feeds are enabled, returns a syndication feed based on the contents of the page or other options provided by the url, see web feeds Web feed notification of changes

display a form to upload an attachment for the current group, see uploads

Query string parameters

?from=page name
use when a page is redirected

?n=page name
display page

sets cookie to custom preferences page. See site preferences Customisable browser setting preferences: Access keys, edit form

Actions enabled by $EnableDiag

The following actions are available only if you set $EnableDiag = 1; in your configuration file. They can be used for debugging and should not be set in a production environment.

displays a list of all markups in 4 columns:
  • column 1 = markup-name (1. parameter of markup() )
  • column 2 = when will rule apply (2. parameter of markup() )
  • column 3 = PmWiki's internal sort key (derived from #2)
  • column 4 = Debug backtrace information for potentially incompatible rules (filename, line number, pattern)
(see Custom Markup Using the Markup() function for custom wiki syntax; migration to PHP 5.5 ).
To see more than what ?action=ruleset gives you, apply the Cookbook:MarkupRulesetDebugging recipe: it can also show the pattern and the replacement strings.
  • doesn't make use of PmWiki's authorization mechanisms.

displays the output of phpinfo() and exits. No page will be processed
  • doesn't make use of PmWiki's authorization mechanisms.

displays a dump of all global vars and exits. No page will be processed
  • doesn't make use of PmWiki's authorization mechanisms.

Actions enabled by PmWiki Scripts

see Site Analyzer and Analyze Results

see Url approvals Require approval of Url links
  • doesn't make use of PmWiki's authorization mechanisms.

Actions enabled by Cookbook recipes

(more information about Custom Actions)

see Cookbook:UserAuth2
see Cookbook:BackupPages
see Cookbook:SearchCloud
see Cookbook:CodeMirror
see Cookbook:CommentBox
see Cookbook:Comments
see Cookbook:CommentDb
see Cookbook:ROEPatterns
see Cookbook:MovePage
see CSVAction?
see Cookbook:DeleteAction
see Cookbook:DiscussionTab
see Cookbook:DownloadManager
see Cookbook:ExpireDiff
see Cookbook:ImportText
see Cookbook:MultiLanguageViews
see Cookbook:MultiLanguageViews
see Cookbook:MovePage
see Cookbook:CommentBoxPlus
see Cookbook:ListCategories
see Cookbook:GeneratePDF or Cookbook:PmWiki2PDF
see Cookbook:UploadForm
see Cookbook:PublishPDF
see Cookbook:ASCIIMath
see Cookbook:UserAuth2
(the imgtpl action is called automatically and should not be called by a link in a wiki page)
(the createthumb action is called automatically and should not be called by a link in a wiki page)
(this action is called automatically and should not be called by a link in a wiki page)
see Cookbook:ThumbList
see Cookbook:Mini
see Cookbook:RecipeCheck
see Cookbook:PageRegenerate
see Cookbook:Reindex
see Cookbook:RenamePage
see Cookbook:SharedPages
see Cookbook:Sitemapper
see Cookbook:TotalCounter
see Cookbook:Trash
see Cookbook:WebAdmin
see Cookbook:ZAP

Query string parameters enabled by Cookbook recipes



see Cookbook:ChoiceColorChanger {Cookbook/ChoiceColorChanger $:Summary}
see SkinChange

Custom actions

This page may have a more recent version on PmWiki:AvailableActions, and a talk page: PmWiki:AvailableActions-Talk.

© Copyright Precedence Technologies 1999-2018
Page last modified on March 20, 2016, at 02:08 PM by mfwolff