Not logged in. · Lost password · Register
Forum: Community RSS
Proposal to add missed feature to DokuWiKi syntax page
AlexJ #1
Member since Mar 2010 · 6 posts · Location: US
Group memberships: Members
Show profile · Link to this post
Subject: Proposal to add missed feature to DokuWiKi syntax page
When dokuwiki syncs between different domains, http links that supposed to point to the same domain such as  [[]] will be broken.

It happens for example when used portable DokuWiKi from USB stick where domain is "localhost" then links on real hosted domain will point to a wrong place after synchronization if domain is hardcoded in [[...]].

DokuWikI has a great feature that allows to move/sync data between multiple dokuwikis without worrying about broken links
by substituting SCHEMA, DOMAIN and PORT of currently running copy of DokuWikI. 

To point to current URL one just need use following syntax:


Where "this" will be substituted with currently running instance and will point to the same URL regardless of HTTP or HTTPS, listening port or domain, so portable link [[http://localhost:8888/some_content.html]] will be substituted to real domain on primary, hosted domain automatically and all such links will be accessible regardless of domain. 

This feature is NOT described on and since that page is read-only I proposing to add there in the "Links" section information about
which is not visible/searchable now neither over Dokuwiki search or Google
andi (Administrator) #2
User title: splitbrain
Member since May 2006 · 3527 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The this keyword is described at - we can not add *everything* to the syntax page.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-02-23, 06:33:35 (UTC +01:00)