http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68773
Revision: 68773 Author: reedy Date: 2010-06-30 15:34:59 +0000 (Wed, 30 Jun 2010) Log Message: ----------- Followup r65037, do the same for the other route of badtitle Modified Paths: -------------- trunk/phase3/includes/Wiki.php Modified: trunk/phase3/includes/Wiki.php =================================================================== --- trunk/phase3/includes/Wiki.php 2010-06-30 14:42:44 UTC (rev 68772) +++ trunk/phase3/includes/Wiki.php 2010-06-30 15:34:59 UTC (rev 68773) @@ -190,6 +190,7 @@ // Invalid titles. Bug 21776: The interwikis must redirect even if the page name is empty. if( is_null($title) || ( ($title->getDBkey() == '') && ($title->getInterwiki() == '') ) ) { $title = SpecialPage::getTitleFor( 'Badtitle' ); + $output->setTitle( $title ); // bug 21456 # Die now before we mess up $wgArticle and the skin stops working throw new ErrorPageError( 'badtitle', 'badtitletext' ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs