Extension:GeoCrumbs/en

The GeoCrumbs extension formerly known as BreadCrumbs adds a trail of bread crumbs to the page. See https://en.wikivoyage.org/wiki/Wikivoyage:Breadcrumb_navigation or other Wikivoyage sites for more information.

Usage
This extension provides a new MediaWiki parser function named " ". It expects one argument, the name of the article where the current article "is in".

During parsing of the wiki markup, some few data related to the  function's argument are generated and stored in the parser cache.

When the article is displayed, its HTML code has to be built from the parser cache. The BreadCrumbs extension has a method triggered by the 'OutputPageParserOutput' hook. Here, the complete bread crumb trail is build up by starting with the article's own  and retrieving subsequently higher level   data from the corresponding parser caches. The HTML code of the bread crumb trail is added to the page's subtitle.