* (bug 21456) "Bad title" error when showing non-local interwiki pages no longer...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 14 Apr 2010 19:27:25 +0000 (19:27 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 14 Apr 2010 19:27:25 +0000 (19:27 +0000)
RELEASE-NOTES
includes/Wiki.php

index d6cc0ba..f476592 100644 (file)
@@ -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 <big> 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
index de1f9db..fa7a84c 100644 (file)
@@ -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' );
                        }