Manual:Hooks/GetDoubleUnderscoreIDs

GetDoubleUnderscoreIDs
Available from version 1.21.0
Modifying the list of magic words
Define function:
public static function onGetDoubleUnderscoreIDs( &$mDoubleUnderscoreIDs ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"GetDoubleUnderscoreIDs": "MediaWiki\\Extension\\MyExtension\\Hooks::onGetDoubleUnderscoreIDs"
	}
}
Called from: File(s): MagicWordFactory.php
Interface: GetDoubleUnderscoreIDsHook.php

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