Bug 26069 <title> element is "Error" for all error pages
authorkarun <karun.84@gmx.de>
Sat, 18 Aug 2012 23:17:57 +0000 (09:17 +1000)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 20 Aug 2012 13:54:14 +0000 (15:54 +0200)
added more meaningful heading

Change-Id: If59e729df9aa9d559302d6ebe5d4ee11999808ea

RELEASE-NOTES-1.20
includes/OutputPage.php

index 2fe2aa6..ac456bf 100644 (file)
@@ -209,6 +209,7 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki.
   are returned, like in previous versions.
 * (bug 36524) "Show" options on Special:RecentChanges and Special:RecentChangesLinked
   are now remembered between successive clicks.
+* (bug 26069) Page title is no longer "Error" for all error pages
 
 === API changes in 1.20 ===
 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
index d170722..e9e2b6f 100644 (file)
@@ -2064,7 +2064,7 @@ class OutputPage extends ContextSource {
                        $title = $this->msg( $title );
                }
 
-               $this->prepareErrorPage( $title, $this->msg( 'errorpagetitle' ) );
+               $this->prepareErrorPage( $title );
 
                if ( $msg instanceof Message ){
                        $this->addHTML( $msg->parse() );