r80905 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80904‎ | r80905 | r80906 >
Date:20:07, 24 January 2011
Author:catrope
Status:ok
Tags:
Comment:
1.16wmf4: Committing local change to refreshLinks.php intended to prevent extension-added categories from getting messed up
Modified paths:
  • /branches/wmf/1.16wmf4/maintenance/refreshLinks.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/maintenance/refreshLinks.php
@@ -68,9 +68,10 @@
6969 $wgUser->setOption('math', MW_MATH_SOURCE);
7070
7171 # Don't generate extension images (e.g. Timeline)
72 - if( method_exists( $wgParser, "clearTagHooks" ) ) {
73 - $wgParser->clearTagHooks();
74 - }
 72+ # FIXME: this breaks extension tag hooks adding categories and such (e.g. ProofreadPage)
 73+ #if( method_exists( $wgParser, "clearTagHooks" ) ) {
 74+ # $wgParser->clearTagHooks();
 75+ #}
7576
7677 # Don't use HTML tidy
7778 $wgUseTidy = false;

Status & tagging log