dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c052fc3
)
GOOD BYE $wgArticle!
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Fri, 10 Feb 2012 17:00:21 +0000
(17:00 +0000)
committer
Alexandre 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
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
6ead57c
..
581bfdd
100644
(file)
--- 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 );