Extension:CategoryTagSorter/ja

From mediawiki.org
This page is a translated version of the page Extension:CategoryTagSorter and the translation is 100% complete.
MediaWiki 拡張機能マニュアル
CategoryTagSorter
リリースの状態: 安定
実装 ユーザー インターフェイス, 自分のウィキ
説明 記事下部のカテゴリリンクをアルファベット順に表示する機能
作者
最新バージョン 0.4.0 (2018-02-05)
MediaWiki 1.29+
PHP 5.3+
データベースの変更 いいえ
ライセンス Apache ライセンス 2.0
ダウンロード
Quarterly downloads 11 (Ranked 138th)
translatewiki.net で翻訳を利用できる場合は、CategoryTagSorter 拡張機能の翻訳にご協力ください

CategoryTagSorter拡張機能は、記事の下にあるカテゴリリンクをアルファベット順に並べます。

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

この拡張機能には、MediaWiki の既定の動作を好む個人のための利用者の個人設定が含まれています。

Installation

  • ダウンロードして、ファイルをextensions/フォルダー内のCategoryTagSorterという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTagSorter
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'CategoryTagSorter' );
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

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