Extension:UILangCode/pl
Appearance
This extension is obsolete! It has been replaced by core functionality in the MediaWiki software (which was added in version 1.43). |
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 nie jest kompatybilny wstecznie. |
| MediaWiki | 1.29+ |
| Zmiany w bazie danych | Nie |
| Licencja | Licencja GNU General Public License 2.0 lub nowsza |
| Pobieranie | |
| Przykład | Translatewiki.net |
| Przetłumacz rozszerzenie UILangCode jeżeli jest dostępne na translatewiki.net | |
The UILangCode extension implements the {{UILANGCODE}} magic word to get the interface language of the current user.
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
UILangCodew folderzeextensions/.
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' );
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Użycie
{{UILANGCODE}}
This will make the parser cache vary per user language, greatly decreasing hit rate and increasing storage.
