Available Actions
(:Summary: PmWiki group header. Includes styles and trail.:)
(:Summary: All PmWiki page actions (?action=) and other query parameters:)
Table of contents
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.
PmWiki Actions
See also site page actions.
- ?action=attr
- 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 {PmWiki/Passwords$:Summary}
- ?action=browse
- display the specified page (default action if no
?action=
is present)
- ?action=crypt
- displays a form for generating hashed passwords out of clear text for usage in your config.php
- ?action=diff
- show a change history of the specified page, see page history {PmWiki/PageHistory$:Summary}
- ?action=download&upname=file.ext
- retrieve the page's attachment named file.ext, see
$EnableDirectDownload
- ?action=edit
- edit the specified page, see basic editing {PmWiki/BasicEditing$:Summary}
- ?action=login
- prompt visitor for username/password, by default using Site.AuthForm
- ?action=logout
- remove author, password, and login information
- ?action=print
- display the specified page using the skin specified by
$ActionSkin
['print']
- ?action=refcount
- 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 {PmWiki/RefCount$:Summary} . Part of the core distribution but must be enabled by the administrator.
- ?action=search
- displays searchbox on current page, see search {PmWiki/Search$:Summary}
- ?action=search&q=searchterm
- performs search with searchterm and displays results on current page
- ?action=search&q=link=pagename
- performs backlinks search with ''pagename' and displays results on current page
- ?action=source
- show page source
- ?action=atom
- ?action=rdf
- ?action=rss
- ?action=dc
- 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 {PmWiki/WebFeeds$:Summary}
- ?action=upload
- display a form to upload an attachment for the current group, see uploads {Cookbook/Uploads$:Summary}
Query string parameters
- ?from=page name
- use when a page is redirected
- ?n=page name
- display page
- ?setprefs=SomeGroup.CustomPreferences
- sets cookie to custom preferences page. See site preferences {PmWiki/SitePreferences$:Summary}
Actions enabled by $EnableDiag
The following actions are available only if you set
in your configuration file. They can be used for debugging and should not be set in a production environment.
$EnableDiag
= 1;
- ?action=ruleset
- displays a list of all markups in 3 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)
?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.
- ?action=phpinfo
- displays the output of phpinfo() and exits. no page will be processed
- doesn't make use of PmWiki's authorization mechanisms.
- ?action=diag
- 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
- ?action=analyze
- see Site Analyzer and Analyze Results
- ?action=approvesites
- see Url approvals {PmWiki/UrlApprovals$:Summary}
- doesn't make use of PmWiki's authorization mechanisms.
Actions enabled by Cookbook recipes
(more information about Custom Actions)
- ?action=admin
- see Cookbook:UserAuth2 {Cookbook/UserAuth2$:Summary}
- ?action=backup
- see Cookbook:BackupPages {Cookbook/BackupPages$:Summary}
- ?action=clearsky
- see Cookbook:SearchCloud {Cookbook/SearchCloud$:Summary}
- ?action=comment
- see Cookbook:CommentBox {Cookbook/CommentBox$:Summary}
- ?action=comments
- see Cookbook:Comments {Cookbook/Comments$:Summary}
- ?action=comment-rss
- see Cookbook:CommentDb {Cookbook/CommentDb$:Summary}
- ?action=convert
- see Cookbook:ROEPatterns {Cookbook/ROEPatterns$:Summary}
- ?action=converttable
- Cookbook:ConvertTable {Cookbook/ConvertTable$:Summary}
- ?action=copy
- see Cookbook:MovePage {Cookbook/MovePage$:Summary}
- ?action=csv
- see CSVAction? {Cookbook/CSVAction$:Summary}
- ?action=downloaddeleted
- ?action=delattach
- ?action=delattach
- ?action=deldelattach
- ?action=fileinfo
- ?action=thumbnail
- ?action=undelattach
- Cookbook:Attachtable {Cookbook/Attachtable$:Summary}
- ?action=delete
- see Cookbook:DeleteAction {Cookbook/DeleteAction$:Summary}
- ?action=discuss
- see Cookbook:DiscussionTab {Cookbook/DiscussionTab$:Summary}
- ?action=downloadman
- see Cookbook:DownloadManager {Cookbook/DownloadManager$:Summary}
- ?action=expirediff
- see Cookbook:ExpireDiff {Cookbook/ExpireDiff$:Summary}
- ?action=import
- see Cookbook:ImportText {Cookbook/ImportText$:Summary}
- ?action=move
- see Cookbook:MovePage {Cookbook/MovePage$:Summary}
- ?action=PageUrl
- see Cookbook:CommentBoxPlus {Cookbook/CommentBoxPlus$:Summary}
- ?action=pageindex
- see Cookbook:ListCategories {Cookbook/ListCategories$:Summary}
- ?action=pdf
- see Cookbook:GeneratePDF {Cookbook/GeneratePDF$:Summary} or Cookbook:PmWiki2PDF {Cookbook/PmWiki2PDF$:Summary}
- ?action=postupload2
- see Cookbook:UploadForm {Cookbook/UploadForm$:Summary}
- ?action=publish
- see Cookbook:PublishPDF {Cookbook/PublishPDF$:Summary}
- ?action=purgeqns
- see Cookbook:ASCIIMath {Cookbook/ASCIIMath$:Summary}
- ?action=pwchange
- see Cookbook:UserAuth2 {Cookbook/UserAuth2$:Summary}
- ?action=imgtpl
- (the imgtpl action is called automatically and should not be called by a link in a wiki page)
- ?action=createthumb
- (the createthumb action is called automatically and should not be called by a link in a wiki page)
- ?action=mini
- (this action is called automatically and should not be called by a link in a wiki page)
- ?action=purgethumbs
- see Cookbook:ThumbList {Cookbook/ThumbList$:Summary}
see Cookbook:Mini {Cookbook/Mini$:Summary} - ?action=recipecheck
- see Cookbook:RecipeCheck {Cookbook/RecipeCheck$:Summary}
- ?action=regen
- see Cookbook:PageRegenerate {Cookbook/PageRegenerate$:Summary}
- ?action=rename
- ?action=links
- see Cookbook:RenamePage {Cookbook/RenamePage$:Summary}
- ?action=share
- ?action=unshare
- see Cookbook:SharedPages {Cookbook/SharedPages$:Summary}
- ?action=sitemapaddgroups
- ?action=sitemapupdate
- see Cookbook:Sitemapper {Cookbook/Sitemapper$:Summary}
- ?action=totalcounter
- see Cookbook:TotalCounter {Cookbook/TotalCounter$:Summary}
- ?action=trash
- ?action=untrash
- see Cookbook:Trash {Cookbook/Trash$:Summary}
- ?action=webadmin
- see Cookbook:WebAdmin {Cookbook/WebAdmin$:Summary}
- ?action=zap
- see Cookbook:ZAP {Cookbook/ZAP$:Summary}
Query string parameters enabled by Cookbook recipes
- ?color=colorscheme
:?setcolor=colorscheme
- ?skintheme=theme
- ?setskintheme=theme
- see Cookbook:ChoiceColorChanger {Cookbook/ChoiceColorChanger $:Summary}
- ?skin=skinname
- ?setskin=skinname
- see SkinChange {Skins/SkinChange$:Summary}
Custom actions
- See CustomActions.
(:Summary:Trail and talk page links:)