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 [2015-02-11 14:37]
140.105.48.10 [Page Actions]
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.
  
-In [[xref>act_dispatch()]] many default actions are processed and in [[xref>tpl_content_core()]] actions create their output.+The action modes are handled in the [[Action Router]].
  
 The description at this page should reflect the state of the last released version of DokuWiki. Changes between versions (very rare) can be inspected by comparing the code of releases at https://github.com/splitbrain/dokuwiki/releases. The description at this page should reflect the state of the last released version of DokuWiki. Changes between versions (very rare) can be inspected by comparing the code of releases at https://github.com/splitbrain/dokuwiki/releases.
Line 37: 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 56: 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)) --- [[user>krichter|krichter]] //2014/03/19 16:34// 
-> The description at this page should reflect the state of the last released version of DokuWiki.  
-> Do you mean by 'version' which release of DokuWiki, or something different? 
->  --- [[user>Klap-in|Klap-in]] //2014/03/19 18:10// 
->> OK, I added your sentence above - hope you don't mind. My FIXME suggestion above was refering to a matrix with version range and action to provide information about older versions, too. My background problem is that I need URLs to control an older version of dokuwiki where I don't have admin rights and I'm having some troubles, so I need to know if the actions are available or not before I can start debugging. If this page ought to refer to current version only, maybe it's worth starting another page? I hope discussing here is ok? 
->> --- [[user>krichter|krichter]] //2014/03/19 16:34// 
->>>The two methods mentioned above, [[xref>act_dispatch()]] and [[xref>tpl_content_core()]], describe the most actions which dokuwiki can handle (plugins can add actions as well). In general these actions doesn't change much (however some of that kind of details can matter for you of course).  
->>>At https://github.com/splitbrain/dokuwiki/releases you can browse for you release and inspect the code and compare it with the current branch... 
->>> Discussion is fine at this place, but when we finish its conclusions should be applied to this page afterward(and than the discussion can be clean up).   
->>> Can you tell me for which action(s) you are looking for? and in which version? 
->>>--- [[user>Klap-in|Klap-in]] //2014/03/26 11:18// 
->>>> Well, I'm looking for the version action in order to find out which version the wiki is using... (initially I wanted to exclude the fact that the version is not available in the old version). At http://xref.dokuwiki.org/reference/dokuwiki/nav.html?_functions/act_dispatch.html I don't find any documentation  --- [[user>krichter|krichter]] //2014/03/19 16:34// 
->>>>>At that xref page you can click throught to [[http://xref.dokuwiki.org/reference/dokuwiki/nav.html?inc/actions.php.source.html#l11|line 11 in its source]]. In the source you can read the handled actions. 
->>>>>I think there is not used the action ''version'' before. 
->>>>> When you look for the version number of your current DokuWiki, you need to go to the admin of your wiki.  [wikiurl.org]?do=admin At the right side of the "Administration" section, the version number is displayed. 
->>>>> Or visit as admin-user the page [wikiurl.org]?do=check at the top the version number is given. 
->>>>> --- [[user>Klap-in|Klap-in]] //2014/03/26 18:40// 
->>>>>> Ah, thanks! I guess I'm very used to @since annotation in javadoc (and I think it's in doxygen, too). I don't have admin rights to the dokuwiki I was trying to get to know the version (meanwhile I'm having trouble with a 303 error and contacted the admin. He or she is going to me the version soon, so I'm just trying to improve this wiki page by now). 
devel/action_modes.1423661844.txt.gz · Last modified: 2015-02-11 14:37 by 140.105.48.10