From: Tim Starling Date: Fri, 28 May 2004 13:49:05 +0000 (+0000) Subject: fixed bug involving old revisions and the parser cache X-Git-Tag: 1.5.0alpha1~3177 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=8b130bd8fd4634a02c03d84be658ecc4183c532e;p=lhc%2Fweb%2Fwiklou.git fixed bug involving old revisions and the parser cache --- diff --git a/includes/Article.php b/includes/Article.php index 710508f04a..e26a8a42cc 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -569,7 +569,7 @@ class Article { ) { $wgOut->addWikiText( wfMsg('usercssjs')); $wgOut->addHTML( '
'.htmlspecialchars($this->mContent)."\n
" ); - } else if( $wgEnableParserCache && intval($wgUser->getOption( "stubthreshold" )) == 0 ){ + } else if( $wgEnableParserCache && intval($wgUser->getOption( "stubthreshold" )) == 0 && empty( $oldid ) ){ $wgOut->addWikiText( $text, true, $this ); } else { $wgOut->addWikiText( $text );