Manual:Hooks/LocalisationIgnoredOptionalMessages
Appearance
This feature was removed completely in version 1.35.0. |
LocalisationIgnoredOptionalMessages | |
---|---|
Available from version 1.24.0 (Gerrit change 133122) Removed in version 1.35.0 (Gerrit change 585482) | |
Define function: | public static function onLocalisationIgnoredOptionalMessages( array &$ignoredMessageKeys, array &$optionalMessageKeys ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"LocalisationIgnoredOptionalMessages": "MediaWiki\\Extension\\MyExtension\\Hooks::onLocalisationIgnoredOptionalMessages"
}
}
|
Called from: | File(s): Function(s): __construct |
Interface: | LocalisationIgnoredOptionalMessagesHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:LocalisationIgnoredOptionalMessages extensions.
Details
[edit]&$ignoredMessageKeys
: Array of ignored message keys&$optionalMessageKeys
: Array of optional message keys