From cb557c8adcf867f0671a67e74095ffb00de5974b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20Kr=C3=B6tzsch?= Date: Fri, 23 Mar 2007 16:47:58 +0000 Subject: [PATCH] Added parser hook InternalParseBeforeLinks, closes Bug#8578. The hook is relevant for all parser extensions that want templates, nowiki, etc. to be taken care of before they do their magic. --- includes/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Parser.php b/includes/Parser.php index 5834b1d99a..f5fbaa2a81 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1000,6 +1000,7 @@ class Parser $text = Sanitizer::removeHTMLtags( $text, array( &$this, 'attributeStripCallback' ) ); $text = $this->replaceVariables( $text, $args ); + wfRunHooks( 'InternalParseBeforeLinks', array( &$this, &$text ) ); // Tables need to come after variable replacement for things to work // properly; putting them before other transformations should keep -- 2.20.1