Manual:$wgAvailableRights/pl

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAvailableRights and the translation is 22% complete.
Dostęp: $wgAvailableRights
A list of available rights, in addition to the ones defined by the core.
Wprowadzono w wersji:1.13.0 (r34357)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(array of strings)
Domyślna wartość:[]

Szczegóły

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

Extensions (until MediaWiki 1.24) use this variable instead, like:

$wgAvailableRights[] = 'ninja-powers';
Wersja MediaWiki:
1.25
Gerrit change 166705

Since MediaWiki 1.25 do in extension.json :

	"AvailableRights": [
		"ninja-powers"
	],

Zobacz też