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 [2012-06-24 19:03] Aleksandrtips: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 ======
  
-You can simply append the command ('login', 'register', ...) as url parameter to the page id in a normal internal link like e.g. ''%%[[:start?do=login|login]]%%'' becomes [[:start?do=login|login]].+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. 
 + 
 +===== Examples ===== 
 + 
 +^ Code ^ Link ^ Action ^ 
 +|''%%[[?do=login|login]]%%'' |[[?do=login|login]] |shortcut to login | 
 +|''%%[[?do=admin&page=config|settings]]%%'' |[[?do=admin&page=config|settings]] |access your admin settings | 
 +|''%%[[?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)| 
 +|''%%[[?purge=true|reload page]]%%'' |[[?purge=true|reload page]] |refresh the current page |
  
 ===== For DokuWiki versions prior to Anteater (2010-11-07) ===== ===== For DokuWiki versions prior to Anteater (2010-11-07) =====
  
-DokuWiki commands like ''login'', ''register' etc. are 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**) +DokuWiki commands like ''login'', ''register'' etc. are 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}   do     ?do={URL}
tips/links-to-dokuwiki-commands.1340557437.txt.gz · Last modified: 2012-06-24 19:03 by Aleksandr

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