MediaWiki
REL1_22
|
Module for user tokens. More...
Public Member Functions | |
getGroup () | |
getScript (ResourceLoaderContext $context) | |
supportsURLLoading () | |
Protected Member Functions | |
contextUserTokens () | |
Fetch the tokens for the current user. | |
Protected Attributes | |
$origin = self::ORIGIN_CORE_INDIVIDUAL |
Module for user tokens.
Definition at line 27 of file ResourceLoaderUserTokensModule.php.
ResourceLoaderUserTokensModule::contextUserTokens | ( | ) | [protected] |
Fetch the tokens for the current user.
Definition at line 40 of file ResourceLoaderUserTokensModule.php.
References $wgUser, array(), ApiQueryRecentChanges\getPatrolToken(), ApiQueryInfo\getWatchToken(), and global.
Referenced by getScript().
Reimplemented from ResourceLoaderModule.
Definition at line 71 of file ResourceLoaderUserTokensModule.php.
$context | ResourceLoaderContext |
Reimplemented from ResourceLoaderModule.
Definition at line 54 of file ResourceLoaderUserTokensModule.php.
References array(), contextUserTokens(), Xml\encodeJsCall(), and ResourceLoader\inDebugMode().
Reimplemented from ResourceLoaderModule.
Definition at line 64 of file ResourceLoaderUserTokensModule.php.
ResourceLoaderUserTokensModule::$origin = self::ORIGIN_CORE_INDIVIDUAL [protected] |
Reimplemented from ResourceLoaderModule.
Definition at line 31 of file ResourceLoaderUserTokensModule.php.