Manual:Hooks/LocalisationCacheRecache
From MediaWiki.org
| LocalisationCacheRecache | |
|---|---|
| Available from version 1.16.0 Called when loading the localisation data into cache |
|
*Define function: |
function fnMyHook( $cache, $code, &$alldata ) { ... }
|
*Attach hook: |
$wgHooks['LocalisationCacheRecache'][] = 'MyExtensionHooks::someExample'; |
| Called from: | LocalisationCache.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:LocalisationCacheRecache extensions.
[edit] Details
- $cache: The LocalisationCache object
- $code: language code
- &$alldata: The localisation data from core and extensions