Extension:HNP

Features

 * Permission management through simple edition of a page
 * Sysop has always all rights regardless of state of registry page
 * Enables easier 'human error' management
 * Prefix based namespace access with wildcards
 * E.g. 'sysop group has access to all namespaces'
 * Namespace dependant & Namespace Independant rights management
 * No additional database tables nor changes to schema
 * No mandatory patches
 * Namespace dependant rights management: no patches necessary
 * Namespace independant rights management: if wanted, requires a patch:
 * 'includes/User.php'
 * Post-installation information always available through Special:Version page.
 * Magic Words:
 * ' #username# ' magic word can be used to substitute the current user's name in the title field
 * Useful for implementing functionality akin to 'KeepYourHandsToYourself' whereas only the owner of a userpage can edit his own
 * Useful for implementing functionality akin to 'KeepYourHandsToYourself' whereas only the owner of a userpage can edit his own

Usage
Please see example configuration page Example.

Installation Notes

 * 1) This extension assumes to deliver the 'authoritative' answers to the 'userCan' requests. Any other extensions also hooking to 'userCan'  will probably not work correctly with this extension.
 * 2) Be sure to use a 'sysop' account for login-in after installing this extension - the extension's registry page must be accessed with a 'sysop' account.

MEDIAWIKI NOTES
1) Only the forward slash is interpreted (when enabled) as an indicator of "sub-page". Thus, only the forward slash and ~ are considered here to be part of the hierarchical functionality. 2) The allowed characters in a title are defined in "DefaultSettings.php". NOTE that #{}[]| are not part of this list. 3) Special command characters for preg_match do not include the following:    Those were tested with preg_quote

4) Be careful not to choose namespace name identifiers too long as the standard limit in Mediawiki is 16characters long.

1.0.1

 * Removed file caching (causing more troubles than adding value)
 * Fixed debug messages as to not stop normal processing flow.

1.1.0

 * Added Magic Words support
 * '#username#' magic word for implementing functionality akin to 'KeepYourHandsToYourself'