Hook: ResourceLoaderGetConfigVars called right before ResourceLoaderStartUpModule::getConfig and exports static configuration variables to JavaScript. Things that depend on the current page/request state should use MakeGlobalVariablesScript instead
- See also
- https://www.mediawiki.org/wiki/Manual:Hooks/ResourceLoaderGetConfigVars
GNU GPL v2+
- Since
- 2.0
- Author
- mwjames
◆ __construct()
SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars::__construct |
( |
NamespaceInfo |
$namespaceInfo | ) |
|
◆ process()
SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars::process |
( |
array & |
$vars | ) |
|
- Since
- 1.9
- Parameters
-
- Returns
- boolean
◆ OPTION_KEYS
const SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars::OPTION_KEYS |
Initial value:= [
'smwgQMaxLimit',
'smwgQMaxInlineLimit',
'smwgNamespacesWithSemanticLinks',
'smwgResultFormats'
]
The documentation for this class was generated from the following file:
- ResourceLoaderGetConfigVars.php