1459194617 | current | ||
---|---|---|---|
Line 38: | Line 38: | ||
| {QUERY} | query part if an URL was given as wikiname | | | {QUERY} | query part if an URL was given as wikiname | | ||
- | The last 5 parameters are useful when creating interwikilinks to cachesystems. Refer to the ''coral'' shortcut in the distributed ''interwiki.conf''. | + | The last 5 parameters are useful when creating interwikilinks to cachesystems. |
- | Examples of these placeholders can found in the ''<dokuwiki_conf>/interwiki.conf'' file. (FIXME - distributed ''interwiki.conf'' no longer includes relevant example --- [[user>marcink|marcink]] //2016-03-28 21:43//) | + | |
+ | For example cached links with the old, not longer working, [[wp>Coral Content Distribution Network]] could be used by a ''coral'' shortcut, defined using a couple of placeholders: | ||
+ | |||
+ | <code>coral http://{HOST}.{PORT}.nyud.net:8090{PATH}?{QUERY}</code> | ||
+ | |||
+ | |||
+ | For example, [[https://wiki.ubuntu.com/|Ubuntu's wiki]] uses namespaces and pagenames like this ''LaptopTestingTeam/ToshibaPortegeM700'' and without using ''{NAME}'' as a placeholder in your interwiki.local.conf file, you'll get a "Not Found" error on their wiki, because it'll interpret the forward slash as a ''%2F'' ; so what you can do is add this line to your interwiki.local.conf: | ||
- | For example, [[https://wiki.ubuntu.com/|Ubuntu's wiki]] uses namespaces and pagenames like this "LaptopTestingTeam/ToshibaPortegeM700" and without using {NAME} as a placeholder in your interwiki.local.conf file, you'll get a Not Found error on their wiki, because it'll interpret the forward slash as a %2F ; so what you can do is add this line to your interwiki.local.conf: | ||
<code>ubuntu https://wiki.ubuntu.com/{NAME}</code> | <code>ubuntu https://wiki.ubuntu.com/{NAME}</code> | ||
+ | |||
and now create your link to it like this: | and now create your link to it like this: | ||
- | <code>[[ubuntu>LaptopTestingTeam/ToshibaPortegeM700|Ubuntu Linux on Toshiba Portege M700 Tablet]]</code> | + | |
+ | <code>[[ubuntu>LaptopTestingTeam/ToshibaPortegeM700|Ubuntu on Toshiba Portege M700 Tablet]]</code> | ||
If the wikiname will already include encoded characters (ex: ''%26'' for ''&'') use {PATH} in your interwiki.local.conf definition. | If the wikiname will already include encoded characters (ex: ''%26'' for ''&'') use {PATH} in your interwiki.local.conf definition. |
↧
interwiki - update pointer to coral, some formatting
↧