From fc37a9625a236e42a9abc120552423e3ae810bc8 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 25 May 2011 10:11:06 +0000 Subject: [PATCH] * Follow-up r88740: * Fixed parse() arguments in getRevIncludes() * Changed clearTagHook() to avoid preprocessed-xml cache corruption * Check current version cache in getRevIncludes() --- includes/parser/Parser.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 47151ab076..5acf40ccc7 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -4531,6 +4531,7 @@ class Parser { /** * Remove a specific tag hook. Should not be called on $wgParser. + * Does not change the strip list. * * @param string $tag * @return void @@ -4538,10 +4539,6 @@ class Parser { function clearTagHook( $tag ) { if ( isset( $this->mTagHooks[$tag] ) ) { unset( $this->mTagHooks[$tag] ); - $key = array_search( $tag, $this->mStripList ); - if ( $key !== false ) { - unset( $this->mStripList[$key] ); - } } } -- 2.20.1