< Manual:Hooks
LocalisationChecksBlacklist
Available from version 1.23.0 (Gerrit change 94603)
When fetching the blacklist of localisation checks.
Define function:
public static function onLocalisationChecksBlacklist( &$blacklist ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"LocalisationChecksBlacklist": "MyExtensionHooks::onLocalisationChecksBlacklist"
	}
}
Called from: File(s):
Function(s): getCheckBlacklist
Interface: LocalisationChecksBlacklistHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:LocalisationChecksBlacklist extensions.

Details

  • &$blacklist: array of checks to blacklist. See the bottom of checkLanguage.inc for the format of this variable.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.