http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96096
Revision: 96096
Author: demon
Date: 2011-09-02 13:32:35 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
Minor tweak to r95521: remove outdated comment about $wgArticle
Modified Paths:
--------------
trunk/phase3/includes/Wiki.php
Modified: trunk/phase3/includes/Wiki.php
===================================================================
--- trunk/phase3/includes/Wiki.php 2011-09-02 13:16:29 UTC (rev 96095)
+++ trunk/phase3/includes/Wiki.php 2011-09-02 13:32:35 UTC (rev 96096)
@@ -149,7 +149,6 @@
// Invalid titles. Bug 21776: The interwikis must redirect even
if the page name is empty.
if ( is_null( $title ) || ( ( $title->getDBkey() == '' ) && (
$title->getInterwiki() == '' ) ) ) {
$this->context->title = SpecialPage::getTitleFor(
'Badtitle' );
- // Die now before we mess up $wgArticle and the skin
stops working
throw new ErrorPageError( 'badtitle', 'badtitletext' );
// If the user is not logged in, the Namespace:title of the
article must be in
// the Read array in order for the user to see it. (We have to
check here to
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs