Jump to content

Extension:AuthorProtect: Difference between revisions

From mediawiki.org
Content deleted Content added
+ cat
Line 14: Line 14:
|update = 2011-07-29
|update = 2011-07-29
|mediawiki = 1.18+
|mediawiki = 1.18+
|license = GPL-2.0+
|download = {{TNT|WikimediaDownload}}
|download = {{TNT|WikimediaDownload}}
|readme = [[Extension:AuthorProtect#Usage|Readme]]
|readme = [[Extension:AuthorProtect#Usage|Readme]]

Revision as of 08:40, 15 April 2016

MediaWiki extensions manual
AuthorProtect
Release status: stable
Implementation User rights , Page action
Description Allows the author of a page to protect it from other users
Author(s) Ryan Schmidt (Skizzerztalk)
Latest version 1.3 (2011-07-29)
MediaWiki 1.18+
  • $wgRestrictionLevels
author, authorprotect
Licence GNU General Public License 2.0 or later
Download
Readme
Changelog
Translate the AuthorProtect extension if it is available at translatewiki.net

Usage

This extension allows page authors to protect pages from non-authors on a page-by-page basis. Authors with the 'authorprotect' permission will gain a protect tab on pages they author that gives them access to this interface. Because logs and anonymous users don't mix very well (as with the fact that all anonymous users share the same user id), anonymous users are unable to use this extension regardless of if they have the 'authorprotect' right or not.

Warning Warning: Do not assign the author right via GroupPermissions (except to those who you want to be able to edit author-protected pages)! This right is automatically assigned to the author of the page. Assigning this right via $wgGroupPermissions gives that group the ability to edit all author-protected pages, regardless of if they are the author of the page or not (by default user group administrators have this right).

Download instructions

Please download the latest snapshot and extract it in your wiki's extensions directory.

Installation

To install this extension, add the following to LocalSettings.php:

require_once("$IP/extensions/AuthorProtect/AuthorProtect.php");

Changelog

Version 1.3
Fix various fixmes in the code, brought up to standards with the 1.17/1.18 changes (now requires 1.18+).
Version 1.2
Fix fatal error and other bugfixes. Now actually temporarily assigns the "protect" right instead of trying to hack around it.
Version 1.1
Many bugfixes, basically made it work when using expirys and trying to unprotect. Also added author to the real protection interface so sysops can revert bad changes, etc.
Version 1.0
First stable release. Moved code to subversion repository.
Version 0.1
Initial beta release. Has not been tested at all as of yet. Unless you want to test this extension, do not install this version.

See also