Extension:AuthorProtect
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | User rightsCategory:User rights extensions, Page actionCategory:Page action extensions |
Description | Allows the author of a page to protect it from other users |
Author(s) | Ryan Schmidt (Skizzerztalk) |
Latest version | 1.4.0 (2017-11-25) |
MediaWiki | 1.29+Category:Extensions with manual MediaWiki version |
License | GNU General Public License 2.0 or later |
Download | Category:Extensions in Wikimedia version control |
|
|
|
|
Quarterly downloads | 1 (Ranked 94th) |
Translate the AuthorProtect extension if it is available at translatewiki.net |
The AuthorProtect 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 that gives them (author) 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.
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).
Installation
- Download and move the extracted
AuthorProtect
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AuthorProtect - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'AuthorProtect' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
See also
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Category:All extensions
Category:Edit extensions
Category:Extensions in Wikimedia version control
Category:Extensions included in Miraheze
Category:Extensions included in WikiForge
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:Page action extensions
Category:Page specific user rights extensions
Category:SkinTemplateNavigation::Universal extensions
Category:Stable extensions
Category:UserGetRights extensions
Category:User rights extensions