DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:links-to-dokuwiki-commands

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tips:links-to-dokuwiki-commands [2010-01-04 22:38] – old revision restored 95.180.201.125tips:links-to-dokuwiki-commands [2023-03-16 14:16] (current) Chris75
Line 1: Line 1:
-==== Links to dokuwiki commands  ====+====== Links to DokuWiki commands aka. Action Links ======
  
-Dokuwiki 'commands' like 'login','register' etc +You can simply append the command ('login', 'register', 'edit', ...), aka. [[:devel:action_modes|action mode]], as URL parameter to the page id in a normal internal link to create an [[:plugin:actionlink|action link]]. If no page id is provided, the URL parameter is appended to the current page's URL. 
-are usually available through buttons in the interface. + 
-If you want to display them as links in your text +===== Examples ===== 
-you can add an interwiki namespace (file: **interwiki.conf**)  + 
-<code>do     ./?do={URL}</code> +^ Code ^ Link ^ Action ^ 
-in conf/interwiki.conf. You can then write links like +|''%%[[?do=login|login]]%%'' |[[?do=login|login]] |shortcut to login | 
-<code>[[do>revisions]]</code> +|''%%[[?do=admin&page=config|settings]]%%'' |[[?do=admin&page=config|settings]] |access your admin settings | 
-and it will show up as an interwiki link:\\ +|''%%[[?id=sidebar&do=edit|edit sidebar]]%%'' \\ ''%%[[:sidebar?do=edit|edit sidebar]]%%'' \\ ''%%[[sidebar?do=edit|edit sidebar]]%%'' |[[?id=sidebar&do=edit|edit sidebar]] |open your sidebar in edit mode \\ (all of those will work)| 
-[[do>revisions]] \\ +|''%%[[?purge=true|reload page]]%%'' |[[?purge=true|reload page]] |refresh the current page | 
-If you configured interwiki links to open in new windows, your + 
-'command' links will open in a new window too :-|+===== For DokuWiki versions prior to Anteater (2010-11-07) ===== 
 + 
 +DokuWiki commands like ''login'', ''register'' etcare usually available through buttons in the interface. If you want to display them as links in your text you can add an interwiki namespace (file: **interwiki.local.conf**)  
 + 
 +  do     ?do={URL} 
 + 
 +in ''conf/interwiki.local.conf''. You can then write links like 
 + 
 +  [[do>revisions]] 
 + 
 +and it will show up as an interwiki link: [[do>revisions]]  
 + 
 +If you configured interwiki links to open in new windows, your 'command' links will open in a new window too :-|
  
 [[pike@kw.nl|Pike]] //2005-Apr-29// [[pike@kw.nl|Pike]] //2005-Apr-29//
tips/links-to-dokuwiki-commands.1262641094.txt.gz · Last modified: 2010-01-04 22:38 by 95.180.201.125

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki