* Fixed parse() arguments in getRevIncludes()
* Changed clearTagHook() to avoid preprocessed-xml cache corruption
* Check current version cache in getRevIncludes()
/**
* Remove a specific tag hook. Should not be called on $wgParser.
+ * Does not change the strip list.
*
* @param string $tag
* @return void
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] );
- }
}
}