Extension:UILangCode/pl

From mediawiki.org
This page is a translated version of the page Extension:UILangCode and the translation is 12% complete.
Podręcznik rozszerzeń MediaWiki
UILangCode
Status wydania: stabilne
Realizacja Rozszerzenie parsera
Opis Implements {{UILANGCODE}} magic word to get interface language of the current user
Autor(zy) Niklas Laxström (Nikerabbitdyskusja)
Ostatnia wersja 1.0.0
Polityka zgodności Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.29+
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 or later
Pobieranie
Przykład Translatewiki.net
Quarterly downloads 0
Przetłumacz rozszerzenie UILangCode jeżeli jest dostępne na translatewiki.net

The UILangCode extension implements the {{UILANGCODE}} magic word to get interface language of the current user.

Download

The extension can be retrieved directly from Git

[?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).

Extract the snapshot and place it in the extensions/UILangCode/ directory of your MediaWiki installation.

If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows:

cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UILangCode.git

Installation

  • Pobierz i umieść plik(i) w katalogu o nazwie UILangCode 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/UILangCode
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'UILangCode' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Usage

{{UILANGCODE}}

This will make the parser cache vary per user language, greatly decreasing hit rate and increasing storage.

Zobacz też