Manual:Hooks/MessageNotInMwNs
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. |
| MessageNotInMwNs | |
|---|---|
| Available from version 1.16.0 Removed in version 1.16.0 When trying to get a message that isn't found in the MediaWiki namespace (but before checking the message files) |
|
*Define function: |
function fnMyHook( &$message, $lckey, $langcode, $isFullKey ) { ... }
|
*Attach hook: |
$wgHooks['MessageNotInMwNs'][] = 'MyExtensionHooks::someExample'; |
| Called from: | MessageCache.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:MessageNotInMwNs extensions.
| This hook has been removed in 1.16, and may never be in a released version |
[edit] Details
- &$message: message's content; can be changed
- $lckey: message's name
- $langcode: language code
- $isFullKey: specifies whether $lckey is a two part key "msg/lang"