Manual:Hooks/LoadAllMessages
From MediaWiki.org
This feature has been deprecated and should not be used with current versions of MediaWiki.
This feature was deprecated (or possibly removed completely) in version 1.16.0.
| LoadAllMessages | |
|---|---|
| Available from version 1.8.0 Removed in version 1.16.0 Called when $wgMessageCache->loadAllMessages() has been invoked, allows extensions to inject their own messages |
|
*Define function: |
function fnMyHook( $messageCache ) { ... }
|
*Attach hook: |
$wgHooks['LoadAllMessages'][] = 'fnMyHook'; |
| Called from: | MessageCache.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:LoadAllMessages extensions.
[edit] Details
- $messageCache: The MessageCache object (added in 1.16.0)