Extension:CategoryWatch

This page is a translated version of the page Extension:CategoryWatch and the translation is 100% complete.
Other languages:
MediaWiki 拡張機能マニュアル
OOjs UI icon advanced-invert.svg
CategoryWatch
リリースの状態: 安定
実装 通知
説明 ウォッチリストの機能を拡張し、ウォッチされているカテゴリのメンバーシップの変更に関する通知を含むようにしました。
作者
最新バージョン 2.0.0 (2018-08-02)
MediaWiki 1.27+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード

  • $wgCategoryWatchNotifyEditor
  • $wgCategoryWatchUseAutoCat
  • $wgCategoryWatchUseAutoCatRealName
translatewiki.net で翻訳を利用できる場合は、CategoryWatch 拡張機能の翻訳にご協力ください

使用状況とバージョン マトリクスを確認してください。

CategoryWatchの拡張機能は、ウォッチリストの機能を拡張し、ウォッチされているカテゴリのメンバーシップの変更に関する通知を含む。

Echo support was recently added to this extension as well as support for modern extension loading.

根拠

A feature that's missing from the MediaWiki Watchlist functionality is that if you watch a category page, you will only be notified when the content of the category page text changes. You won't be notified when pages are added to or removed from that category though which is probably the main information you were wanting when deciding to watch a category page.

This extension was developed primarily to be used in conjunction with the RecordAdmin extension (which is obsolete), but it's also very useful by itself. When used with these extensions, it's used to allow roles to be notified when work items have changed state and been moved into a category they're responsible for.

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のCategoryWatchという名前のディレクトリ内に配置します。
  • 以下のコードをLocalSettings.phpの末尾に追加します:
    wfLoadExtension( 'CategoryWatch' );
    
  • Configure as required.
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定

  • $wgCategoryWatchNotifyEditor can be set to true which will allow the user who re-categorises an article to also receive the notification message if it is a category they are watching. This is useful so that the editor has an audit trail of all membership changes to categories they're watching.
  • $wgCategoryWatchUseAutoCat can be set to true which causes users to automatically be watching a category of the name Category:Automatically watched by <USERNAME> (set it the categorywatch-autocat message). For example, if you were logged in to the wiki as User:Foo, then you would automatically be notified of any changes to articles in Category:Automatically watched by Foo.
  • $wgCategoryWatchUseAutoCatRealName modifies the automatically watched category function to work with real names instead of usernames. If this was set to true for the example discussed in the previous paragraph, the category name might be something like Category:Automatically watched by Henry McFoo.

関連項目