GOOD BYE $wgArticle!
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 10 Feb 2012 17:00:21 +0000 (17:00 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 10 Feb 2012 17:00:21 +0000 (17:00 +0000)
It was stated that it would be removed in 1.20 and we are in 1.20.

includes/Wiki.php

index 6ead57c..581bfdd 100644 (file)
@@ -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 );