From 8b130bd8fd4634a02c03d84be658ecc4183c532e Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 28 May 2004 13:49:05 +0000 Subject: [PATCH] fixed bug involving old revisions and the parser cache --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1