Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -149,7 +149,6 @@ |
150 | 150 | // Invalid titles. Bug 21776: The interwikis must redirect even if the page name is empty. |
151 | 151 | if ( is_null( $title ) || ( ( $title->getDBkey() == '' ) && ( $title->getInterwiki() == '' ) ) ) { |
152 | 152 | $this->context->title = SpecialPage::getTitleFor( 'Badtitle' ); |
153 | | - // Die now before we mess up $wgArticle and the skin stops working |
154 | 153 | throw new ErrorPageError( 'badtitle', 'badtitletext' ); |
155 | 154 | // If the user is not logged in, the Namespace:title of the article must be in |
156 | 155 | // the Read array in order for the user to see it. (We have to check here to |