From: Alexandre Emsenhuber Date: Wed, 14 Apr 2010 19:27:25 +0000 (+0000) Subject: * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer... X-Git-Tag: 1.31.0-rc.0~37112 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=36bf5dbf9b89e0ecd8079abc78c78b9c9667b5ab;p=lhc%2Fweb%2Fwiklou.git * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer displays incorrect tabs --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d6cc0ba286..f476592818 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -107,6 +107,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Maintenance script cleanupTitles is now able to fix titles stored in a negative namespace (which is invalid). * (bug 19858) Removed obsolete in interface messages. +* (bug 21456) "Bad title" error when showing non-local interwiki pages no longer + displays incorrect tabs === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent diff --git a/includes/Wiki.php b/includes/Wiki.php index de1f9db3e7..fa7a84cc54 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -207,6 +207,7 @@ class MediaWiki { $output->redirect( $url ); } else { $title = SpecialPage::getTitleFor( 'Badtitle' ); + $output->setTitle( $title ); // bug 21456 wfProfileOut( __METHOD__ ); throw new ErrorPageError( 'badtitle', 'badtitletext' ); }