Manual:$wgAvailableRights

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎日本語 • ‎polski • ‎русский
Extensions: $wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Introduced in version: 1.13.0 (r34357)
Removed in version: still in use
Allowed values: array of strings
Default value: array()
Other settings: Alphabetical | By function

Details[edit]

The list of core user rights is defined in User.php, $mCoreRights. See Manual:User rights#Adding new rights.

Extensions use this variable instead, like:

$wgAvailableRights[] = 'ninja-powers';

See also[edit]