Extension:UserProtect

The UserProtect extension provides per-page per-user access control. It allows those with the  right (administrators by default) to use a page protection tool that is similar to the way the core MediaWiki Protect action works. It allows adding rights or removing rights on a per-page basis.

Configuration parameters

 * $wgUserProtectRestrictionTypes: Sets which user rights can be modified by the extension. Defaults to:


 * For example, you can add to your LocalSettings:


 * The extension will probably work with any MediaWiki core or extension page-related right, but it hasn't been tested with all of them. It does not work with the "read" right.

User rights

 * userprotect: Allows users to use the "UserProtect" page action in order to add or remove user rights for this page. Defaults to:

Usage
A user with the  right is provided with the "User protect" item in the page actions menu. Click it to add or remove allowed restrictions to the current page on per-user basis. Just start typing user names in the [[media:UserProtect_Interface.png|appropriate right field]]. Each field allows multiple values and autocompletes as you type. Once you are done, submit the form.

Features
UserProtect extension:
 * Stores its data in the database.
 * Doesn’t disable caching like many other page protection extensions.
 * Has the minimalistic interface
 * Adds and removes rights on fly
 * Overrides the built-in protection system as the latter is less specific.