From b03ce013519563e5839d81ddac633e2a011e680b Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 13 Sep 2004 07:46:41 +0000 Subject: [PATCH] clear bodytext on OutputPage after link parsing --- maintenance/refreshLinks.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maintenance/refreshLinks.inc b/maintenance/refreshLinks.inc index c57acf3ef4..f334895178 100644 --- a/maintenance/refreshLinks.inc +++ b/maintenance/refreshLinks.inc @@ -3,6 +3,7 @@ * @todo document * @package MediaWiki * @subpackage Maintenance + * @version $Id$ */ /** */ @@ -47,6 +48,7 @@ function refreshLinks( $start ) { # Look up the links in the DB and add them to the link cache $wgOut->transformBuffer( RLH_FOR_UPDATE ); + $wgOut->clearHTML(); if ( $wgEnablePersistentLC ) { $wgLinkCache->saveToLinkscc( $id, $dbw->strencode( $wgTitle->getPrefixedDBkey() ) ); -- 2.20.1