This page is a translated version of the page Manual:$wgAvailableRights and the translation is 0% complete.
Other languages:
Deutsch • ‎English • ‎magyar • ‎polski • ‎русский • ‎日本語
Расширения: $wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Введено в версии:1.13.0 (r34357)
Удалено в версии:все еще используется
Допустимые значения:(array of strings)
Значение по умолчанию:[]


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