clear bodytext on OutputPage after link parsing
authorDomas Mituzas <midom@users.mediawiki.org>
Mon, 13 Sep 2004 07:46:41 +0000 (07:46 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Mon, 13 Sep 2004 07:46:41 +0000 (07:46 +0000)
maintenance/refreshLinks.inc

index c57acf3..f334895 100644 (file)
@@ -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() ) );