Jump to content

Extension:InterwikiSorting/pl

From mediawiki.org
This page is a translated version of the page Extension:InterwikiSorting and the translation is 15% complete.
Podręcznik rozszerzeń MediaWiki
InterwikiSorting
Status wydania: stabilne
Realizacja Interfejs użytkownika
Autor(zy) Wikimedia Germany (WMDE)
Ostatnia wersja continuous updates
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
MediaWiki 1.27+
PHP 7.4+
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie

  • $wgInterwikiSortingSort
  • $wgInterwikiSortingSortPrepend
  • $wgInterwikiSortingInterwikiSortOrders
Przetłumacz rozszerzenie InterwikiSorting jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The InterwikiSorting extension allows for sorting of interwiki links.

The code was originally created in 2012 as part of the Wikibase Client extension, and has been factored out.

Within the Wikimedia Foundation this extension is being used alongside the Cognate extension and Wikibase .

Instalacja

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

Konfiguracja

$wgInterwikiSortingSort
The default sort order to use. 'code' is built in and orders alphabetically by interwiki code.
Example sort orders are currently stored in WMF configuration and can be seen at Phabricator
These can be seen used in noc.wikimedia.org under wgInterwikiSortingSort
$wgInterwikiSortingSortPrepend
Codes that should appear at the start of the list of interwiki links.
$wgInterwikiSortingInterwikiSortOrders
Definition of sort orders. Each sort order key should be the sort order name, for example 'alphabetical'. Each key should have a value of an array of interwiki codes in the order to be sorted.