From: Tim Starling Date: Tue, 19 Jan 2016 06:09:42 +0000 (+1100) Subject: In refreshLinks.php don't clear tag hooks X-Git-Tag: 1.31.0-rc.0~8265^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=01a18cfc91934d366c32bf932f120c11155513a1;p=lhc%2Fweb%2Fwiklou.git In refreshLinks.php don't clear tag hooks It made perfect sense when I introduced this line in June 2005, but now that we have etc., we need to use the normal parser configuration. Change-Id: I5a32e4e38badff85fe6d7d63c3fa158dc6fd5336 --- diff --git a/maintenance/refreshLinks.php b/maintenance/refreshLinks.php index a0cd6a94f1..1159e5394c 100644 --- a/maintenance/refreshLinks.php +++ b/maintenance/refreshLinks.php @@ -73,8 +73,6 @@ class RefreshLinks extends Maintenance { private function doRefreshLinks( $start, $newOnly = false, $end = null, $redirectsOnly = false, $oldRedirectsOnly = false ) { - global $wgParser; - $reportingInterval = 100; $dbr = $this->getDB( DB_SLAVE ); @@ -85,9 +83,6 @@ class RefreshLinks extends Maintenance { // Give extensions a chance to optimize settings Hooks::run( 'MaintenanceRefreshLinksInit', array( $this ) ); - # Don't generate extension images (e.g. Timeline) - $wgParser->clearTagHooks(); - $what = $redirectsOnly ? "redirects" : "links"; if ( $oldRedirectsOnly ) {