From 605caa0c97d77bf5f963ef669aa14e29a41f0cf5 Mon Sep 17 00:00:00 2001 From: karun Date: Sun, 19 Aug 2012 09:17:57 +1000 Subject: [PATCH] Bug 26069 element is "Error" for all error pages added more meaningful heading Change-Id: If59e729df9aa9d559302d6ebe5d4ee11999808ea --- RELEASE-NOTES-1.20 | 1 + includes/OutputPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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() ); -- 2.20.1