Extension:CategoryTagSorter/ja
![]() リリースの状態: 安定 |
|
---|---|
実装 | ユーザー インターフェイス, 自分のウィキ |
説明 | 記事下部のカテゴリリンクをアルファベット順に表示する機能 |
作者 | |
最新バージョン | 0.4.0 (2018-02-05) |
MediaWiki | 1.29+ |
PHP | 5.3+ |
データベースの変更 | いいえ |
ライセンス | Apache ライセンス 2.0 |
ダウンロード | |
Quarterly downloads | 8 (Ranked 168th) |
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
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'CategoryTagSorter' );
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
MediaWiki 1.24以前を稼働させている利用者へ:
上記の手順では、wfLoadExtension()
を使用してこの拡張機能をインストールする新しい方法を記載しています。
この拡張機能をこれらの過去のバージョン (MediaWiki 1.24以前) にインストールする必要がある場合は、wfLoadExtension( 'CategoryTagSorter' );
の代わりに以下を使用する必要があります:
require_once "$IP/extensions/CategoryTagSorter/CategoryTagSorter.php";
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