Extension:AuthorProtect

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.

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.

Download instructions
This extension has not been tested as of yet. If you would like to test it and report any bugs/fatal errors you find on the talk page, I would greatly appreciate it. Once I know that this extension works, I will commit it to Subversion.

Please cut and paste the code found below and place it in  and. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

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

Changelog

 * 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.