version=pmwiki-2.1.beta14 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 author=Pm excerpt=%3cp class='vspace'>%3c/p>%3cp>%3cspan class='audience'> administrator (intermediate)%3c/span>%0a%3c/p>%0a%3cp class='vspace'>%3c/p>%3cp>This page describes %3cspan class='wikiword'>PmWiki%3c/span>'s default %3ca class='wikilink' href='http://www.pmichaud.com/wiki/PmWiki/InterMap'>InterMap%3c/a> links, and how a %3ca class='wikilink' href='http://www.pmichaud.com/wiki/PmWiki/WikiAdministrator'>wiki administrator%3c/a> can create additional %3cspan class='wikiword'>InterMap%3c/span> links.%0a%3c/p>%0a%3cp class='vspace'>%3c/p>%3cp>An intermap entry takes the following format:%0a%3c/p>%0a%3cp class='vspace'>%3c/p>%3cdiv class='indent'>%3cpre>%0aMapPrefix: host=24.1.26.255 name=PmWiki.CustomInterMap rev=25 targets=PmWiki.InterMap,PmWiki.WikiAdministrator,PmWiki.WikiFarms,PmWiki.Upgrades,PmWiki.DocumentationIndex text=(:title Custom InterMap:)%0a%0a%25audience%25 administrator (intermediate)%0a%0aThis page describes PmWiki's default [[InterMap]] links, and how a [[wiki administrator]] can create additional InterMap links.%0a%0aAn intermap entry takes the following format:%0a%0a-> [@%0aMapPrefix: http://www.somehost.com/partial/url/%0a@]%0a%0aPmWiki is distributed with the following InterMap entries in ''scripts/intermap.txt'':%0a%0a-> [@%0aPmWiki: http://www.pmwiki.org/wiki/PmWiki/%0aCookbook: http://www.pmwiki.org/wiki/Cookbook/%0aWiki: http://www.c2.com/cgi/wiki?%0aUseMod: http://www.usemod.com/cgi-bin/wiki.pl?%0aMeatball: http://www.usemod.com/cgi-bin/mb.pl?%0aWikipedia: http://www.wikipedia.com/wiki/%0aPITS: http://www.pmwiki.org/PITS/%0aPath:%0a@]%0a%0aYou can create your own InterMap links by doing one or more of the following:%0a%0a* Create a [@Site.InterMap@] page and place entries like the ones above in it.%0a* Create a ''local/localmap.txt'' file and place entries like the ones above in it.%0a* In a [[WikiFarm(s)]] installation you can create a ''local/farmmap.txt'' file to hold your entries.%0a%0a%0aDo not edit the ''intermap.txt'' file directly! If you do, you'll lose your changes when you [[PmWiki/upgrade(s)]] PmWiki.%0a%0a%0a!! Variables and [=InterMap=] Links%0a%0aIt's possible to use variables within your InterMap entries. The following entries create [@ThisWiki:@] and [@ThisPage:@] shortcuts:%0a%0a-> [@%0aThisWiki: $ScriptUrl%0aThisPage: {$PageUrl}%0a@]%0a%0aYou can also define InterMap entries where the text of the entry is substituted into the middle of the URL. Just include '$1' in the URL where you want the substitution to take place. For example:%0a%0a->[@Jargon: http://www.catb.org/~esr/jargon/html/$1.html@]%0a%0awould cause [@Jargon:F/feature-creep@] to be converted to [@http://www.catb.org/~esr/jargon/html/F/feature-creep.html@].%0a%0a%0a%25trail%25%3c%3c|[[Documentation Index]]|>> time=1135817629 title=Custom InterMap