Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/kontaktstellebasel.chALT/viavia.ch/maroc-de/cookbook/pagetoc.php:416) in /home/httpd/vhosts/kontaktstellebasel.chALT/viavia.ch/maroc-de/pmwiki.php on line 1337
|
< Security | Documentation index | Custom markup > administrator (intermediate)
This page describes PmWiki's default InterMap links, and how a wiki administrator can create additional InterMap links. An intermap entry takes the following format: MapPrefix: http://example.com/partial/url/ You can create your own InterMap links by doing one or more of the following:
Do not edit the file scripts/intermap.txt directly! If you do, you'll
Variables and InterMap linksIt's possible to use variables within your InterMap entries. The following
ThisWiki: $ScriptUrl ThisPage: {$PageUrl} You can also define InterMap entries where the text of the entry is
Jargon: http://catb.org/~esr/jargon/html/$1.html
would cause Tips and tricksIt is possible to document your intermap prefixes directly in the page
The order in which various sources are checked for definitions of prefixes
PmWiki InterMaps
PmWiki: http://pmwiki.org/wiki/PmWiki/ Cookbook: http://pmwiki.org/wiki/Cookbook/ Wiki: http://c2.com/cgi/wiki? UseMod: http://usemod.com/cgi-bin/wiki.pl? Meatball: http://usemod.com/cgi-bin/mb.pl? Wikipedia: http://wikipedia.com/wiki/ PITS: http://pmwiki.org/PITS/ Path: You can map your own prefixes in your local page Site.InterMap?. Are InterMap names case sensitive? Yes, thus How can I achieve a localmap.txt mapping with the effect of Use the following: Pics: /somepathto/pics/
How can I define an InterMap in PHP? Use the following: $LinkFunctions['PmWikiHome:'] = 'LinkIMap'; $IMap['PmWikiHome:'] = 'http://pmwiki.org/wiki/$1';
< Security | Documentation index | Custom markup > This page may have a more recent version on pmwiki.org: PmWiki:CustomInterMap, and a talk page: PmWiki:CustomInterMap-Talk. |