From: Domas Mituzas Date: Mon, 13 Sep 2004 07:46:41 +0000 (+0000) Subject: clear bodytext on OutputPage after link parsing X-Git-Tag: 1.5.0alpha1~2012 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=b03ce013519563e5839d81ddac633e2a011e680b;p=lhc%2Fweb%2Fwiklou.git clear bodytext on OutputPage after link parsing --- 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() ) );