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/
MediaWiki knows groups that can be given certain privileges:
- Logged on user with verified email address
- Logged on user with suffciently old account
- Logged on user
- Anonymous user
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.
Two new user groups are introduced:
- Readers can read any article that a user could read in a standard wiki.
- Editor can do anything a user could do in a standard wiki.
$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.
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.
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.