Extension:CategoryTagSorter/cs
CategoryTagSorter Stav rozšíření: stabilní |
|
---|---|
Zavádění | Uživatelské rozhraní, MyWiki |
Popis | Seřadí odkazy na kategorie ve spodní části článku |
Napsal(i) | |
Nejnovější verze | 0.4.0 (2018-02-05) |
MediaWiki | 1.29+ |
PHP | 5.3+ |
Změny v databázi | Ne |
Licence | Apache License 2.0 |
Zdrojový kód | |
Čtvrtletní stahování | 9 (Ranked 128th) |
Přeložte rozšíření CategoryTagSorter, používá-li lokalizaci z translatewiki.net | |
Rozšíření CategoryTagSorter abecedně řadí odkazy na kategorie ve spodní části článku.
Description
A MediaWiki page typically displays the list of category links in the order in which they appear in the article. For articles with many categories, it can be difficult for readers to find the category they're looking for. This extension fixes this by alphabetizing category links.
Sorting is ascii-betical, which usually works out OK as most wikis are configured to have the first letter of a title be uppercase (see $wgCapitalLinks
.)
Toto rozšíření zahrnuje uživatelské preference pro jednotlivce, kteří preferují výchozí chování MediaWiki.
Installation
- Stáhněte soubor/y a vložte je do adresáře pojmenovaného
CategoryTagSorter
ve vaší složceextensions/
.
Vývojáři a přispěvatelé kódu by si místo toho měli nainstalovat rozšíření from Git pomocí:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTagSorter - Na konec vašeho souboru LocalSettings.php přidejte následující kód:
wfLoadExtension( 'CategoryTagSorter' );
- Dokončeno – Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo rozšíření úspěšně nainstalováno.
User preference option
This extension provides a user-preference option added in the Appearance section which allows users to turn off the alphabetizing of the categories.
By default this extension is enabled.
To set the default behavior to disabled (a opt-in type of extension), set the categorysortdisabled
preference to 1
in the default user preferences.[1] Like so:
$wgDefaultUserOptions['categorysortdisable'] = 1;
References
See also
- Category extensions — other extensions dealing with categories