Extension:MWUnit/Hooks/MWUnitGetReservedFunctions
MWUnitGetReservedFunctions | |
---|---|
Available from version 0.10 called when the list of reserved parser functions is collected; can be used to add or remove items from the list |
|
Define function: | public static function onMWUnitGetReservedFunctions( array &$reserved_functions ) { ... }
|
Attach hook: | $wgHooks['MWUnitGetReservedFunctions'][] = 'MyExtensionHooks::onMWUnitGetReservedFunctions';
|
Called from: | File(s): MWUnit / src/ParserFunction/ParserMockParserFunction.php Function(s): getReservedFunctions |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:MWUnitGetReservedFunctions extensions.
Details
edit- array &$reserved_functions: The array of the names of the reserved parser functions as strings