Extension:TalkRight

From mediawiki.org
This page is a translated version of the page Extension:TalkRight and the translation is 74% complete.
MediaWiki 拡張機能マニュアル
TalkRight
リリースの状態: 保守されていない
実装 利用者権限
説明 トークページの編集を記事の編集と区別される別の操作とする。
作者 P Leveque, Marc Noirot, James Montalvo
最新バージョン 1.5.0 (2013-05-06)
MediaWiki 1.19+
データベースの変更 いいえ
Composer mediawiki/talk-right
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
talk

Talkright 拡張機能は トークページの編集操作を記事の編集と区別し、talk権限を追加します。

インストール

Composer

MediaWiki バージョン 1.22 以降 TalkRight のインストールは Composer を使用して行います。 パッケージ名は mediawiki/talk-right です。 Composer をインストールする方法についての説明は、MediaWiki's Composer User manual を参照。

一度Composerを適切にインストールしたなら、あとはMediaWikiをインストールしたディレクトリに移動し、以下を実行するだけです:

  • composer require mediawiki/talk-right ~1.5 for the latest stable version or
  • composer require mediawiki/talk-right 'dev-master' for the latest development version

Any future update is then just a call to composer update or composer update enterprisemediawiki/talk-right and you can always be sure that all dependencies are met (currently there are no dependencies).

Continue with the Common steps below.

Beware: If you have installed an earlier version of TalkRight you need to remove its code from the MediaWiki extension directory and delete the call to require_once from the LocalSettings.php file before starting the re-installation with Composer.

Using packaged downloads

If this is not an option, you may also install it like this:

$IP は、あなたが MediaWiki をインストールしたインストールパス (または「ディレクトリ」) を意味します (Install Path の略)。そのディレクトリには LocalSettings.php index.php などがあります。
  1. Github から最新の安定版もしくは最新の開発版リリースをダウンロードします。
  1. Alternatively you can clone TalkRight using git
  1. ファイルを $IP/extensions ディレクトリに展開します。
  2. 必要なら、新たに作られたディレクトリを TalkRight に改名します。
  3. 以下の行を LocalSettings.php の末尾に追加します:
    wfLoadExtension( 'TalkRight' );
    
  1. Continue with the Common steps below.

Common steps

  1. LocalSettings を編集してどの利用者が talk 権限を持つのか指定します (以下を参照)
  2. あなたのWikiの Special:Version ページを表示して TalkRight の項目があることを確認します

使用法

ある半私用Wikiでは、利用者はページの本文ページやトークページの閲覧が許可されていますが編集はできません。 これは以下のような設定によるものです:

$wgGroupPermissions['user']['read'] = true;
$wgGroupPermissions['user']['edit'] = false;

ここで、トークページのみ編集する権限を与えて、人々にあなたのWikiに意見をしてほしいとするならば、あなたはこの TalkRight 拡張機能をインストールして以下の2行のようなものを加える必要があります:

$wgGroupPermissions['commentators']['edit'] = false;
$wgGroupPermissions['commentators']['talk'] = true;

履歴

日付 バージョン 注記
2014-06-06 Version 1.5.0 Composer によるインストールを可能に
2013-05-06 Version 1.4.1 MW1.19 用に更新. 新しい節および節の編集リンクを追加。
2011-11-24 Version 1.3 「ソースを表示」ラベルを編集するための 'includes/SkinTemplate.php' の変更を不要に
2008-08-05 Version 1.1 MediaWiki のバージョン 1.12, 1.13 用のクレジット追加
2006-06-20 Version 1.0.1 拡張機能のクレジットとバージョン情報の追加
2006-06-07 Version 1.0 最初のリリース。