PmWiki

Inter Map

author (intermediate)

The Inter Map (also called Inter Wiki? in some other wikis) is a system for defining links between WikiWikiWeb sites that was first developed by UseMod:UseModWiki and Meatball:MeatballWiki. The method is to use a word that stands for a path that is defined. Inter Map links have the form MapPrefix:PagePath, where the host prefix is converted to a partial URL based on entries in the site's intermap.txt and localmap.txt files.

The default intermap.txt distributed with Pm Wiki (in the scripts/ directory) includes the following Inter Map entries:

You can map your own prefixes in your local page Site.InterMap?.

Thus, "PmWiki:Variables" becomes "http://pmwiki.org/wiki/PmWiki/" + "Variables," a link to the PmWiki.Variables page on the official Pm Wiki web site, Wiki:FrontPage is a link to the front page of the first Wiki Wiki Web, 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:

* [[Meatball:StartingPoints | starting
points]] over at Meatball
* [[starting points ->
Meatball:StartingPoints]] over at
Meatball

If you want to link just to what the intermap says (e.g. http://wikipedia.com/wiki/ for Wikipedia), then do [[Wikipedia:. | Wikipedia's main page]], which produces Wikipedia's main page. Note the . (period) after the Map: reference.

The special Path: Inter Map entry can be used to create "relative urls" in links.

The actual set of Inter Map 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.

Agents Group

Wiki

edit SideBar

Blix theme adapted by David Gilbert, powered by PmWiki


Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in /group/cisa/web/agents/pmwiki.php on line 518

PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience.

More information

Return to https://groups.inf.ed.ac.uk/agents/index.php