Manual:Hooks/ParserAfterStrip

From mediawiki.org
Jump to navigation Jump to search
ParserAfterStrip
Available from version 1.5.0
Removed in version 1.36.0

Define function:
public static function onParserAfterStrip( &$parser, &$text, &$strip_state ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"ParserAfterStrip": "MyExtensionHooks::onParserAfterStrip"
	}
}
Called from: File(s): parser/Parser.php
Interface: ParserAfterStripHook.php

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


Please see ParserBeforeStrip for details on how to use this hook.

See also[edit]