MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onInternalParseBeforeSanitize ( $parser, &$text, $stripState) | |
This hook is called during Parser's internalParse method just before the parser removes unwanted/dangerous HTML tags and after nowiki/noinclude/ includeonly/onlyinclude and other processing. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "InternalParseBeforeSanitize" to register handlers implementing this interface.
Definition at line 15 of file InternalParseBeforeSanitizeHook.php.
MediaWiki\Hook\InternalParseBeforeSanitizeHook::onInternalParseBeforeSanitize | ( | $parser, | |
& | $text, | ||
$stripState | |||
) |
This hook is called during Parser's internalParse method just before the parser removes unwanted/dangerous HTML tags and after nowiki/noinclude/ includeonly/onlyinclude and other processing.
Ideal for syntax-extensions after template/parser function execution which respect nowiki and HTML-comments.
Parser | $parser | |
string | &$text | Partially parsed text |
StripState | $stripState | Parser's internal StripState object |
Implemented in MediaWiki\HookContainer\HookRunner.