Extension:CategoryTagSorter/fr

From mediawiki.org
This page is a translated version of the page Extension:CategoryTagSorter and the translation is 100% complete.
Manuel des extensions MediaWiki
CategoryTagSorter
État de la version : stable
Implémentation Interface utilisateur, MyWiki
Description Liens de catégorie par ordre alphabétique au bas d'un article
Auteur(s)
Dernière version 0.4.0 (2018-02-05)
MediaWiki 1.29+
PHP 5.3+
Modifie la base
de données
Non
Licence Licence Apache v2.0
Téléchargement
Téléchargements trimestriels 11 (Ranked 133rd)
Traduire l’extension CategoryTagSorter sur translatewiki.net si elle y est disponible

L'extension CategoryTagSorter range par ordre alphabétique, les liens de catégorie en bas des articles.

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 .)

Cette extension inclut une préférence utilisateur pour ceux qui préfèrent le comportement par défaut de MediaWiki.

Installation

  • Téléchargez et placez le(s) fichier(s) dans un répertoire appelé CategoryTagSorter dans votre dossier extensions/.
    Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTagSorter
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'CategoryTagSorter' );
    
  • Yes Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

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

  1. Thanks goes to Matma Rex for this trick.

See also