Extension:PerPageLanguage/pl

This page is a translated version of the page Extension:PerPageLanguage and the translation is 44% complete.
This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
Podręcznik rozszerzeń MediaWiki
PerPageLanguage
Status wydania: stabilne
Realizacja MyWiki
Opis Changes the localized interface messages based on which language the page is set as.
Autor(zy) Vedmaka
Opiekun(owie) WikiTeq team
Ostatnia wersja 1.0.0 (czerwiec 2021)
Polityka zgodności Dla każdego wydania MediaWiki, które jest wydaniem wsparcia długoterminowego, istnieje odpowiednia gałąź w rozszerzeniu.
MediaWiki 1.35, 1.39
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 2.0
Pobieranie
  • $wgPerPageLanguageIgnoreUserSetting
Quarterly downloads 3 (Ranked 136th)
Przetłumacz rozszerzenie PerPageLanguage jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The PerPageLanguage extension allows a multi-lingual wiki to display each page in the same language as its contents. It allows for the page's defined content language, a feature built into MediaWiki, to also define what language the user interface should use. Unlike UniversalLanguageSelector, it changes the language used for the user interface based on the page's content language, not what the user selects. This extension can be thought of as using ?uselang= based on the page content language. (For more information on the difference between user interface language and page content language, see Manual:Language.)

This extension was created for WikiWorks.

Użycie

A page's content language can be defined at Special:PageLanguage if $wgPageLanguageUseDB is set to true. If this is defined, then PerPageLanguage will change the user interface language to match the page content language for anyone who navigates to that page.

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/PerPageLanguage/ 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/PerPageLanguage.git

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie PerPageLanguage 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/PerPageLanguage
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'PerPageLanguage' );
    $wgPageLanguageUseDB = true;
    $wgGroupPermissions['sysop']['pagelang'] = true;
    
  • Configure as required
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

  • $wgPerPageLanguageIgnoreUserSetting - If true, disregards the language chosen by the user's own preferences and forces the page to be displayed in the same language as the page content language.

Zobacz też