Extension:GeoCrumbs/pl

This page is a translated version of the page Extension:GeoCrumbs and the translation is 29% complete.
Podręcznik rozszerzeń MediaWiki
GeoCrumbs
Status wydania: stabilne
Realizacja API
Opis Adds a trail of bread crumbs to the page
Autor(zy) Roland Unger, Hans Musil, and Matthias Mullie
Ostatnia wersja 2.0.1
MediaWiki >= 1.43
PHP 5.4+
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie
README
Quarterly downloads 8 (Ranked 131st)
Przetłumacz rozszerzenie GeoCrumbs jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

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.


Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie GeoCrumbs w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GeoCrumbs
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'GeoCrumbs' );
    
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Użycie

This extension provides a new MediaWiki parser function named "isin". 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 isin 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 isin and retrieving subsequently higher level isin data from the corresponding parser caches. The HTML code of the bread crumb trail is added to the page's subtitle.

 
Use of the isin keyword adds a breadcrumb trail under the title. Here shows the Vector 2022 skin.

Example:

{{#isin:Europe}}
The country of Spain is part of Europe.