|
PmWiki /
InterMapauthor (intermediate)
The InterMap (also called InterWiki in some other wikis) is a system for defining links between WikiWikiWeb sites that was first developed by UseMod and Meatball (see UseMod:InterWiki and Meatball:InterWiki). The method is to use a word that stands for a path that is defined. InterMap links have the form The default intermap.txt distributed with PmWiki (in the scripts/ directory) includes the following InterMap entries: PmWiki: http://www.pmwiki.org/wiki/PmWiki/ Cookbook: http://www.pmwiki.org/wiki/Cookbook/ Wiki: http://www.c2.com/cgi/wiki? UseMod: http://www.usemod.com/cgi-bin/wiki.pl? Meatball: http://www.usemod.com/cgi-bin/mb.pl? Wikipedia: http://www.wikipedia.com/wiki/ PITS: http://www.pmwiki.org/PITS/ Path: Site.InterMap includes the following entries: PmWikiHome: http://www.pmwiki.org/wiki/ MoinMoin: http://moinmoin.wikiwikiweb.de/ PmWikiUsers: http://pmichaud.com/pipermail/pmwiki-users/ RFC: http://tools.ietf.org/html/rfc Wiktionary: http://en.wiktionary.org/wiki/ Wikimedia: http://meta.wikimedia.org/wiki/ Wikitravel: http://wikitravel.org/en/ Wikiquote: http://en.wikiquote.org/wiki/ Wikinews: http://en.wikinews.org/wiki/ Wikibooks: http://en.wikibooks.org/wiki/ Wikisource: http://en.wikisource.org/wiki/ Wikispecies: http://species.wikimedia.org/wiki/ Wikiversity: http://en.wikiversity.org/wiki/ DOI: http://dx.doi.org/$1 Thus, "PmWiki:Variables" becomes "http://www.pmwiki.org/wiki/PmWiki/" + "Variables," a link to the PmWiki.Variables page on the official PmWiki web site, Wiki:FrontPage is a link to the front page of the first WikiWikiWeb, and Wikipedia:Stonehenge takes you to the Wikipedia article about the famous megaliths in England. Like other links, you can use the double-bracket syntax to get different link text:
If you want to link just to what the intermap says (e.g. http://www.wikipedia.com/wiki/ for Wikipedia), then do
The special The actual set of InterMap links at any site is defined by the site administrator via the Site.InterMap page and the local/localmap.txt file; for more details, see PmWiki.CustomInterMaps. This page may have a more recent version on pmwiki.org: PmWiki:InterMap, and a talk page: PmWiki:InterMap-Talk. |