DokuWiki

It's better when it's simple

User Tools

Site Tools


interwiki

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
interwiki [2024-01-20 20:34] – usemod.com expired 212.159.76.45interwiki [2024-05-08 09:27] (current) – [Table] Transfer of the information in /conf/interwiki.conf michaelsy
Line 59: Line 59:
 The shortcut is the one you will be able to use in the link later. In the URL you can use some placeholders to be more flexible in linking. If no placeholder is given the [[phpfn>rawurlencode|URL-encoded]] wikiname will be appended to the URL. These placeholders are available: The shortcut is the one you will be able to use in the link later. In the URL you can use some placeholders to be more flexible in linking. If no placeholder is given the [[phpfn>rawurlencode|URL-encoded]] wikiname will be appended to the URL. These placeholders are available:
  
-^ Placeholder  ^  Replaced by                                                                          +^ Placeholder  ^  Replaced by                                                                                                                                                                                                      
-| {URL}        | URL-encoded wikiname (the part which is appended to the URL in interwiki.local.conf)  +| {URL}        | URL-encoded wikiname (the part which is appended to the URL in interwiki.local.conf)                                                                                                                              
-| {NAME}       | wikiname without any encoding                                                         +| {NAME}       This is replaced by the wikiname as given in the document. Only mandatory encoded is done, urlencoding if the link is an external URL, or encoding as a wikiname if it is an internal link (begins with a colon)  
-| {SCHEME}     | scheme part if a URL was given as wikiname                                           +| {SCHEME}     | scheme part if a URL was given as wikiname                                                                                                                                                                        
-| {HOST}       | host part if a URL was given as wikiname                                             +| {HOST}       | host part if a URL was given as wikiname                                                                                                                                                                          
-| {PORT}       | port part if a URL was given as wikiname                                             +| {PORT}       | port part if a URL was given as wikiname                                                                                                                                                                          
-| {PATH}       | path part if a URL was given as wikiname                                             +| {PATH}       | path part if a URL was given as wikiname                                                                                                                                                                          
-| {QUERY}      | query part if a URL was given as wikiname                                            |+| {QUERY}      | query part if a URL was given as wikiname                                                                                                                                                                         |
  
 The last 5 parameters are useful when creating interwikilinks to cachesystems.  The last 5 parameters are useful when creating interwikilinks to cachesystems. 
interwiki.txt · Last modified: 2024-05-08 09:27 by michaelsy

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