39 return MediaWikiServices::getInstance()->getGrantsInfo()->getValidGrants();
50 return MediaWikiServices::getInstance()->getGrantsInfo()->getRightsByGrant();
63 return MediaWikiServices::getInstance()->getGrantsLocalization()->getGrantDescription( $grant,
$lang );
76 return MediaWikiServices::getInstance()->getGrantsLocalization()->getGrantDescriptions( $grants,
$lang );
88 return MediaWikiServices::getInstance()->getGrantsInfo()->getGrantRights( $grants );
100 return MediaWikiServices::getInstance()->getGrantsInfo()->grantsAreValid( $grants );
112 return MediaWikiServices::getInstance()->getGrantsInfo()->getGrantGroups( $grantsFilter );
123 return MediaWikiServices::getInstance()->getGrantsInfo()->getHiddenGrants();
141 return MediaWikiServices::getInstance()->getGrantsLocalization()->getGrantsLink( $grant,
$lang );
155 return MediaWikiServices::getInstance()->getGrantsLocalization()->getGrantsWikiText( $grantsFilter,
$lang );
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
static getGrantsWikiText( $grantsFilter, $lang=null)
Generate wikitext to display a list of grants.
static grantName( $grant, $lang=null)
Fetch the description of the grant.
static getHiddenGrants()
Get the list of grants that are hidden and should always be granted.
static grantNames(array $grants, $lang=null)
Fetch the descriptions for the grants.
static getGrantsLink( $grant, $lang=null)
Generate a link to Special:ListGrants for a particular grant name.
static getRightsByGrant()
Map all grants to corresponding user rights.
static grantsAreValid(array $grants)
Test that all grants in the list are known.
static getGrantRights( $grants)
Fetch the rights allowed by a set of grants.
static getGrantGroups( $grantsFilter=null)
Divide the grants into groups.
static getValidGrants()
List all known grants.
if(!isset( $args[0])) $lang