From: karun Date: Sat, 18 Aug 2012 23:17:57 +0000 (+1000) Subject: Bug 26069 element is "Error" for all error pages X-Git-Tag: 1.31.0-rc.0~22671 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=605caa0c97d77bf5f963ef669aa14e29a41f0cf5;p=lhc%2Fweb%2Fwiklou.git Bug 26069 <title> element is "Error" for all error pages added more meaningful heading Change-Id: If59e729df9aa9d559302d6ebe5d4ee11999808ea --- diff --git a/RELEASE-NOTES-1.20 b/RELEASE-NOTES-1.20 index 2fe2aa6695..ac456bf1f3 100644 --- a/RELEASE-NOTES-1.20 +++ b/RELEASE-NOTES-1.20 @@ -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. diff --git a/includes/OutputPage.php b/includes/OutputPage.php index d170722a63..e9e2b6f3b2 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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() );