From: Alexandre Emsenhuber Date: Mon, 19 Jan 2009 16:09:06 +0000 (+0000) Subject: Don't use the 'noarticletext' message for pages in the MediaWiki namespace, it hides... X-Git-Tag: 1.31.0-rc.0~43351 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=320e74c792034cb8b744ba0f94d8429c3310e488;p=lhc%2Fweb%2Fwiklou.git Don't use the 'noarticletext' message for pages in the MediaWiki namespace, it hides the default message --- diff --git a/includes/Article.php b/includes/Article.php index 3e413cadc3..524c5c320b 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -849,7 +849,9 @@ class Article { if( $oldid ) { $d = wfMsgExt( 'missingarticle-rev', 'escape', $oldid ); $text = wfMsgExt( 'missing-article', 'parsemag', $t, $d ); - } else { + // Always use page content for pages in the MediaWiki namespace + // since it contains the default message + } elseif ( $this->mTitle->getNamespace() != NS_MEDIAWIKI ) { $text = wfMsgExt( 'noarticletext', 'parsemag' ); } }