MediaWiki
REL1_19
|
Module for user tokens. More...
Public Member Functions | |
getGroup () | |
getScript (ResourceLoaderContext $context) | |
Protected Member Functions | |
contextUserTokens (ResourceLoaderContext $context) | |
Fetch the tokens for the current user. | |
Protected Attributes | |
$origin = self::ORIGIN_CORE_INDIVIDUAL |
Module for user tokens.
Definition at line 25 of file ResourceLoaderUserTokensModule.php.
ResourceLoaderUserTokensModule::contextUserTokens | ( | ResourceLoaderContext $ | context | ) | [protected] |
Fetch the tokens for the current user.
$context | ResourceLoaderContext: Context object |
Definition at line 39 of file ResourceLoaderUserTokensModule.php.
References $wgUser, and ApiQueryInfo\getWatchToken().
Referenced by getScript().
Reimplemented from ResourceLoaderModule.
Definition at line 60 of file ResourceLoaderUserTokensModule.php.
$context | ResourceLoaderContext |
Reimplemented from ResourceLoaderModule.
Definition at line 52 of file ResourceLoaderUserTokensModule.php.
References contextUserTokens(), and Xml\encodeJsCall().
ResourceLoaderUserTokensModule::$origin = self::ORIGIN_CORE_INDIVIDUAL [protected] |
Reimplemented from ResourceLoaderModule.
Definition at line 29 of file ResourceLoaderUserTokensModule.php.