Overview

Require Editor Privilege is an extension for MediaWiki.

The homepage of this project is http://sourceforge.net/p/reqedpriv/wiki/Home/.

The download page is http://sourceforge.net/projects/reqedpriv/files/

Background

MediaWiki knows groups that can be given certain privileges:

If editing shall be restricted to trusted users this is not possible. Furthermore it is not possible to restrict reading to trusted users which might be necessary when using MediaWiki for sensitive information.

What does this extension do?

Two new user groups are introduced:

You can grant read authorization to anonymous users with:
$xyAllowAnonymousRead = true;
You can grant read authorization to logged on users with:
$xyAllowUserRead = true;
The Main Page is readable by any user, to allow creation of user accounts.

Installation

Copy all files to the extensions directory.

Add the following lines to LocalSettings.php:

// Allow anonymous users to read?
$xyAllowAnonymousRead = false;
// Allow logged on users without reader privileges to read?
$xyAllowUserRead = false;
require_once('extensions/ReqEdPriv/ReqEdPriv.php');

Use the page Special:Userrights to edit the user rights.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.