From: Alexandre Emsenhuber Date: Fri, 10 Feb 2012 17:00:21 +0000 (+0000) Subject: GOOD BYE $wgArticle! X-Git-Tag: 1.31.0-rc.0~24797 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=b31d540ba98312f33730998124f18b32494807cb;p=lhc%2Fweb%2Fwiklou.git GOOD BYE $wgArticle! It was stated that it would be removed in 1.20 and we are in 1.20. --- diff --git a/includes/Wiki.php b/includes/Wiki.php index 6ead57c4c9..581bfdd6d4 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -267,14 +267,6 @@ class MediaWiki { $article = $this->initializeArticle(); if ( is_object( $article ) ) { $pageView = true; - /** - * $wgArticle is deprecated, do not use it. - * This will be removed entirely in 1.20. - * @deprecated since 1.18 - */ - global $wgArticle; - $wgArticle = $article; - $this->performAction( $article ); } elseif ( is_string( $article ) ) { $output->redirect( $article );