Extension:TalkRight/zh

The Talkright extension makes the editing of talk pages a distinct action from the editing of articles to create finer permissions, by adding the  right.

Composer
From MediaWiki version 1.22 onwards TalkRight should be installed using Composer. The package name is. For instructions on how to install Composer see MediaWiki's Composer User manual.

Once you have Composer properly installed, all you need to do is go to your MediaWiki installation directory and run:
 * for the latest stable version or
 * for the latest development version

Any future update is then just a call to  or   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  from the   file before starting the re-installation with Composer.

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


 * 1) Download the latest stable release or latest development release from GitHub.
 * Alternatively you can clone TalkRight using git
 * 1) Extract the files to the   directory
 * 2) If necessary rename the newly created directory to TalkRight
 * 3) Add to the end of :
 * 4) Continue with the Common steps below.

Common steps

 * 1) Edit LocalSettings to specify which users have the talk right (see below)
 * 2) Go to the Special:Version page of your wiki and verify that an entry for TalkRight exists

用法
On a semi private wiki, a user can be allowed to read but not to edit the content of a page as well as its talk page. This is done by setting:

Now, if you want to encourage comments to your wiki from a group of persons, by giving them rights to edit the talk pages only, you need to install this TalkRight extension and to add, for example, the following two lines: