From 320e74c792034cb8b744ba0f94d8429c3310e488 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 19 Jan 2009 16:09:06 +0000 Subject: [PATCH] Don't use the 'noarticletext' message for pages in the MediaWiki namespace, it hides the default message --- includes/Article.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' ); } } -- 2.20.1