* Don't put empty-page message into view-source when page text is blank
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 7 Jul 2006 22:15:44 +0000 (22:15 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 7 Jul 2006 22:15:44 +0000 (22:15 +0000)
RELEASE-NOTES
includes/OutputPage.php

index 37e575d..05501c7 100644 (file)
@@ -36,6 +36,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Added linktrail to Telugu (te)
 * (bug 6586) Regression in "unblocked" subtitle
 * Update to Hungarian translation (hu)
+* Don't put empty-page message into view-source when page text is blank
+
 
 == Compatibility ==
 
index 31a0781..8de5372 100644 (file)
@@ -828,7 +828,7 @@ class OutputPage {
                                if ( $wgTitle->getNamespace() == NS_MEDIAWIKI ) {
                                        $source = wfMsgWeirdKey ( $wgTitle->getText() );
                                } else {
-                                       $source = wfMsg( $wgUser->isLoggedIn() ? 'noarticletext' : 'noarticletextanon' );
+                                       $source = '';
                                }
                        }
                        $rows = $wgUser->getIntOption( 'rows' );