r96096 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96095‎ | r96096 | r96097 >
Date:13:32, 2 September 2011
Author:demon
Status:ok
Tags:
Comment:
Minor tweak to r95521: remove outdated comment about $wgArticle
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)

Diff [purge]

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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95521Undo r85392 ('revert' is a strong word since a lot has changed in the interve...happy-melon21:03, 25 August 2011

Status & tagging log