Extension:EditSimilar

This page is a translated version of the page Extension:EditSimilar and the translation is 100% complete.
MediaWiki 拡張機能マニュアル
EditSimilar
リリースの状態: 安定
実装 通知
説明 編集した記事と似たような (カテゴリによる) 記事の編集を促す。
作者 Bartek Łapiński and Łukasz 'TOR' Garczewski
最新バージョン 1.23 (2014-10-03)
MediaWiki 1.23+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgEditSimilarCounterValue
  • $wgEditSimilarMaxResultsToDisplay
  • $wgEditSimilarMaxResultsPool
  • $wgEditSimilarAlwaysShowThanks
Quarterly downloads 1 (Ranked 141st)
translatewiki.net で翻訳を利用できる場合は、EditSimilar 拡張機能の翻訳にご協力ください

EditSimilar is an extension that suggests similar articles that need attention upon save. It was originally written by Bartek Łapiński and Łukasz Garczewski for Fandom.

It finds and suggests another article that may need attention or improvement when a user saves an edit. It is designed to help users decide what to do next, and boost the number of edits on a wiki.

The suggestions are only displayed when saving in the main (article) namespace, and will not show up on talk pages, project pages and other namespaces.

By default, the message is set to appear after every five qualifying article edits. The frequency of messages can be adjusted by a global variable (see the Configuration section below).

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のEditSimilarという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EditSimilar
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'EditSimilar' );
    
  • You also have to perform some basic setup. Edit the MediaWiki:EditSimilar-Categories article and populate it with category names you designate as "stubs". For example:
* Stub Category 1
* Stub Category 2
* Stub Category 3 

Those will be needed to determine relevant or suggested articles.

  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。


設定

Apart from editing MediaWiki:EditSimilar-Categories page, you can set additional parameters:

  • $wgEditSimilarMaxResultsPool - this is the maximum pool of results to choose randomly from (defaults to 50)
  • $wgEditSimilarMaxResultsToDisplay - this is the maximum number of chosen results to display (defaults to 3)
  • $wgEditSimilarCounterValue - this specifies per which number of edits show the results' message (defaults to 1, which means that every time results are found the message is shown)
  • $wgEditSimilarAlwaysShowThanks - whether to thank for an edit even on no results (unset by default, set to true if you want to have that)