Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -73,7 +73,6 @@ |
74 | 74 | public function performRequestForTitle( &$article, &$user ) { |
75 | 75 | wfProfileIn( __METHOD__ ); |
76 | 76 | |
77 | | - $this->context->output->setTitle( $this->context->title ); |
78 | 77 | if ( $this->context->request->getVal( 'printable' ) === 'yes' ) { |
79 | 78 | $this->context->output->setPrintable(); |
80 | 79 | } |
— | — | @@ -184,7 +183,6 @@ |
185 | 184 | // Invalid titles. Bug 21776: The interwikis must redirect even if the page name is empty. |
186 | 185 | if ( is_null( $this->context->title ) || ( ( $this->context->title->getDBkey() == '' ) && ( $this->context->title->getInterwiki() == '' ) ) ) { |
187 | 186 | $this->context->title = SpecialPage::getTitleFor( 'Badtitle' ); |
188 | | - $this->context->output->setTitle( $this->context->title ); // bug 21456 |
189 | 187 | // Die now before we mess up $wgArticle and the skin stops working |
190 | 188 | throw new ErrorPageError( 'badtitle', 'badtitletext' ); |
191 | 189 | |
— | — | @@ -204,7 +202,6 @@ |
205 | 203 | $this->context->output->redirect( $url, 301 ); |
206 | 204 | } else { |
207 | 205 | $this->context->title = SpecialPage::getTitleFor( 'Badtitle' ); |
208 | | - $this->context->output->setTitle( $this->context->title ); // bug 21456 |
209 | 206 | wfProfileOut( __METHOD__ ); |
210 | 207 | throw new ErrorPageError( 'badtitle', 'badtitletext' ); |
211 | 208 | } |
— | — | @@ -377,7 +374,6 @@ |
378 | 375 | $rarticle->setRedirectedFrom( $this->context->title ); |
379 | 376 | $article = $rarticle; |
380 | 377 | $this->context->title = $target; |
381 | | - $this->context->output->setTitle( $this->context->title ); |
382 | 378 | } |
383 | 379 | } |
384 | 380 | } else { |