* Improve default blank content of MediaWiki:Common.css and MediaWiki:Monobook.css
* (bug 6428) Incorrect form action URL on Special:Newimages with hidebots = 0 set
* (bug 4990) Show page source to blocked users on edits, or their modified version
if blocked during an edit
+* (bug 5903) When requesting the raw source of a non-existent message page,
+ return blank content (as opposed to the message key)
+* Improve default blank content of MediaWiki:Common.css and MediaWiki:Monobook.css
== Compatibility ==
if( $this->mTitle ) {
// If it's a MediaWiki message we can just hit the message cache
if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) {
- $text = wfMsgForContentNoTrans( $this->mTitle->getDbkey() );
+ $key = $this->mTitle->getDBkey();
+ $text = wfMsgForContentNoTrans( $key );
+ # If the message doesn't exist, return a blank
+ if( $text == '<' . $key . '>' )
+ $text = '';
$found = true;
} else {
// Get it from the DB
'tooltip-watch' => 'Add this page to your watchlist [alt-w]',
# stylesheets
-'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */',
-#'Monobook.js' => '/* edit this file to change js things in the monobook skin */',
+'Common.css' => '/** CSS placed here will be applied to all skins */',
+'Monobook.css' => '/* CSS placed here will affect users of the Monobook skin */',
# Metadata
'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',