MediaWiki REL1_35
|
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. | |
Definition at line 12 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.