DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:action_modes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:action_modes [2014-03-19 16:34]
92.195.55.206 added FIXME for link to dev docs
devel:action_modes [2018-04-25 16:27] (current)
andi
Line 3: Line 3:
 List of possible action modes (may be incomplete yet) with their descriptions. These actions are usually caused by supplying an according ''?do='' parameter to the ''doku.php'' dispatcher. The knowledge of the current mode may be useful for making [[templates]] more dynamic or write [[action plugins]]. The current can be accessed via the global [[environment#$ACT]] variable. List of possible action modes (may be incomplete yet) with their descriptions. These actions are usually caused by supplying an according ''?do='' parameter to the ''doku.php'' dispatcher. The knowledge of the current mode may be useful for making [[templates]] more dynamic or write [[action plugins]]. The current can be accessed via the global [[environment#$ACT]] variable.
  
-**Unsorted actions** +The action modes are handled in the [[Action Router]]. 
-FIXME describe and sort actions + 
-action ^ description ^ found in ^  +The description at this page should reflect the state of the last released version of DokuWikiChanges between versions (very rarecan be inspected by comparing the code of releases at https://github.com/splitbrain/dokuwiki/releases.
-| **recover** | Recovers a draft (?) | inc/template.php > tpl_content_core() | +
-| **draft** | Shows the draft dialog (?) | inc/template.php > tpl_content_core() | +
-| **wordblock** | [[config:usewordblock]] (?) | inc/template.php > tpl_content_core() | +
-| **conflict** | Report conflicting save (?) | inc/template.php > tpl_content_core() +
-| **cancel** | Replaced by 'show' () | inc/actions.php > act_dispatch() | +
-| **draftdel** | Deletes the draft, and then is replaced by 'show' | inc/actions.php > act_draftdel() |+
  
 ===== Page actions ===== ===== Page actions =====
Line 23: Line 17:
   * **denied**: Internal mode. Used to load the access denied message   * **denied**: Internal mode. Used to load the access denied message
   * **locked**: Internal mode. Used to show the page locked message   * **locked**: Internal mode. Used to show the page locked message
 +  * **cancel**: Cancel conflicting edit, replaced by 'show' 
 +  * **recover**: Recovers a draft
 +  * **draft**: Shows the draft dialog
 +  * **draftdel**: Deletes the draft, replaced by 'show' 
 +  * **conflict**: Report conflicting save
  
 ==== other functions ==== ==== other functions ====
Line 31: Line 30:
   * **subscribe**: Add the current user to the mailing list of changes on the current site.   * **subscribe**: Add the current user to the mailing list of changes on the current site.
   * **unsubscribe**: The opposite of above.   * **unsubscribe**: The opposite of above.
-  * **subscribens**: Add the current user to the mailing list of changes inside the current namespace 
-  * **unsubscribens**: The opposite of above 
   * **media**: launches the media manager   * **media**: launches the media manager
  
Line 40: Line 37:
  
   * **index**: Shows a generated index of the pages and namespaces   * **index**: Shows a generated index of the pages and namespaces
-  * **recent**: Displays recent changed pages and allows diffs+  * **recent**: Displays recently changed pages and allows diffs
   * **search**: Search functionality   * **search**: Search functionality
  
Line 59: Line 56:
   * **admin**: displays the admin menu with all installed [[Admin Plugins]], available to a logged in superuser or manager.   * **admin**: displays the admin menu with all installed [[Admin Plugins]], available to a logged in superuser or manager.
  
-FIXME link to development documentation (missing information here are e.g. in which version the action mode is availble (should be availble in dev docs)) 
devel/action_modes.1395243248.txt.gz · Last modified: 2014-03-19 16:34 by 92.195.55.206