С ГАИШ. Хроники одного курса.

PmWiki: AvailableActions

Table of contents

Page actions are applied to wiki pages, as a query string External Link to http://en.wikipedia.org/wiki/Query_string appended to the URL External Link to http://en.wikipedia.org/wiki/Uniform_Resource_Locator. 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 General use of passwords and login

?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 History of previous edits to a page

?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's basic edit syntax

?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 Link references counts on pages . Part of the core distribution but must be enabled by the administrator.

?action=search
displays searchbox on current page, see search Targeting and customising search results
?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 Web feed notification of changes

?action=upload
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

?setprefs=SomeGroup.CustomPreferences
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.

?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)
(see Custom Markup Using the Markup() function for custom wiki syntax ).
To see more than what ?action=ruleset gives you, apply the Cookbook:MarkupRulesetDebugging External Link to http://www.pmwiki.org/wiki/Cookbook/MarkupRulesetDebugging recipe: it can also show the pattern and the replacement strings.

?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 External Link to http://www.pmwiki.org/wiki/PmWiki/Site%20Analyzer and Analyze Results External Link to http://www.pmwiki.org/wiki/PmWiki/Analyze%20Results

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


Actions enabled by Cookbook External Link to http://www.pmwiki.org/wiki/Cookbook/. recipes

(more information about Custom Actions External Link to http://www.pmwiki.org/wiki/PmWiki/Custom%20Actions)

?action=admin
see Cookbook:UserAuth2 External Link to http://www.pmwiki.org/wiki/Cookbook/UserAuth2
?action=backup
see Cookbook:BackupPages External Link to http://www.pmwiki.org/wiki/Cookbook/BackupPages
?action=clearsky
see Cookbook:SearchCloud External Link to http://www.pmwiki.org/wiki/Cookbook/SearchCloud
?action=comment
see Cookbook:CommentBox External Link to http://www.pmwiki.org/wiki/Cookbook/CommentBox
?action=comments
see Cookbook:Comments External Link to http://www.pmwiki.org/wiki/Cookbook/Comments
?action=comment-rss
see Cookbook:CommentDb External Link to http://www.pmwiki.org/wiki/Cookbook/CommentDb
?action=convert
see Cookbook:ROEPatterns External Link to http://www.pmwiki.org/wiki/Cookbook/ROEPatterns
?action=converttable
Cookbook:ConvertTable External Link to http://www.pmwiki.org/wiki/Cookbook/ConvertTable
?action=copy
see Cookbook:MovePage External Link to http://www.pmwiki.org/wiki/Cookbook/MovePage
?action=csv
see CSVAction?
?action=downloaddeleted
?action=delattach
?action=delattach
?action=deldelattach
?action=fileinfo
?action=thumbnail
?action=undelattach
Cookbook:Attachtable External Link to http://www.pmwiki.org/wiki/Cookbook/Attachtable
?action=delete
see Cookbook:DeleteAction External Link to http://www.pmwiki.org/wiki/Cookbook/DeleteAction
?action=discuss
see Cookbook:DiscussionTab External Link to http://www.pmwiki.org/wiki/Cookbook/DiscussionTab
?action=downloadman
see Cookbook:DownloadManager External Link to http://www.pmwiki.org/wiki/Cookbook/DownloadManager
?action=expirediff
see Cookbook:ExpireDiff External Link to http://www.pmwiki.org/wiki/Cookbook/ExpireDiff
?action=import
see Cookbook:ImportText External Link to http://www.pmwiki.org/wiki/Cookbook/ImportText
?action=move
see Cookbook:MovePage External Link to http://www.pmwiki.org/wiki/Cookbook/MovePage
?action=PageUrl
see Cookbook:CommentBoxPlus External Link to http://www.pmwiki.org/wiki/Cookbook/CommentBoxPlus
?action=pageindex
see Cookbook:ListCategories External Link to http://www.pmwiki.org/wiki/Cookbook/ListCategories
?action=pdf
see Cookbook:GeneratePDF External Link to http://www.pmwiki.org/wiki/Cookbook/GeneratePDF or Cookbook:PmWiki2PDF External Link to http://www.pmwiki.org/wiki/Cookbook/PmWiki2PDF
?action=postupload2
see Cookbook:UploadForm External Link to http://www.pmwiki.org/wiki/Cookbook/UploadForm
?action=publish
see Cookbook:PublishPDF External Link to http://www.pmwiki.org/wiki/Cookbook/PublishPDF
?action=purgeqns
see Cookbook:ASCIIMath External Link to http://www.pmwiki.org/wiki/Cookbook/ASCIIMath
?action=pwchange
see Cookbook:UserAuth2 External Link to http://www.pmwiki.org/wiki/Cookbook/UserAuth2
?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 External Link to http://www.pmwiki.org/wiki/Cookbook/ThumbList
see Cookbook:Mini External Link to http://www.pmwiki.org/wiki/Cookbook/Mini
?action=recipecheck
see Cookbook:RecipeCheck External Link to http://www.pmwiki.org/wiki/Cookbook/RecipeCheck
?action=regen
see Cookbook:PageRegenerate External Link to http://www.pmwiki.org/wiki/Cookbook/PageRegenerate
?action=rename
?action=links
see Cookbook:RenamePage External Link to http://www.pmwiki.org/wiki/Cookbook/RenamePage
?action=share
?action=unshare
see Cookbook:SharedPages External Link to http://www.pmwiki.org/wiki/Cookbook/SharedPages
?action=sitemapaddgroups
?action=sitemapupdate
see Cookbook:Sitemapper External Link to http://www.pmwiki.org/wiki/Cookbook/Sitemapper
?action=totalcounter
see Cookbook:TotalCounter External Link to http://www.pmwiki.org/wiki/Cookbook/TotalCounter
?action=trash
?action=untrash
see Cookbook:Trash External Link to http://www.pmwiki.org/wiki/Cookbook/Trash
?action=webadmin
see Cookbook:WebAdmin External Link to http://www.pmwiki.org/wiki/Cookbook/WebAdmin
?action=zap
see Cookbook:ZAP External Link to http://www.pmwiki.org/wiki/Cookbook/ZAP


Query string parameters enabled by Cookbook External Link to http://www.pmwiki.org/wiki/Cookbook/. recipes

?color=colorscheme

:?setcolor=colorscheme

?skintheme=theme
?setskintheme=theme
see Cookbook:ChoiceColorChanger  External Link to http://www.pmwiki.org/wiki/Cookbook/ChoiceColorChanger {Cookbook/ChoiceColorChanger $:Summary}
?skin=skinname
?setskin=skinname
see SkinChange External Link to http://www.pmwiki.org/wiki/Skins/SkinChange

Custom actions

Получено с https://gaish.tau-site.ru/index.php?n=PmWiki.AvailableActions
Редакция от 03.12.2012 00:02