It's better when it's simple

User Tools

Site Tools


Links to DokuWiki commands aka. Action Links

You can simply append the command ('login', 'register', 'edit', …), aka. action mode, as URL parameter to the page id in a normal internal link to create an action link. If no page id is provided, the URL parameter is appended to the current page's URL.


Code Link Action
[[?do=login|login]] login shortcut to login
[[?do=admin&page=config|settings]] settings access your admin settings
[[?id=sidebar&do=edit|edit sidebar]]
[[:sidebar?do=edit|edit sidebar]]
[[sidebar?do=edit|edit sidebar]]
edit sidebar open your sidebar in edit mode
(all of those will work)
[[?purge=true|reload page]] reload page refresh the current page

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)

do     ?do={URL}

in conf/interwiki.local.conf. You can then write links like


and it will show up as an interwiki link: revisions

If you configured interwiki links to open in new windows, your 'command' links will open in a new window too :-|

Pike 2005-Apr-29

E-Razor: You'll have to use these lines when not using mod_redirect:
do     ./doku.php?do={URL}
tips/links-to-dokuwiki-commands.txt · Last modified: 2023-03-16 14:16 by Chris75

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