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:
d4d92ac
)
Revert r111168 (removed of $wgArticle) since it seems that this is too early for...
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 12 Feb 2012 14:38:42 +0000
(14:38 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 12 Feb 2012 14:38:42 +0000
(14:38 +0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
581bfdd
..
04a6eb3
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-267,6
+267,13
@@
class MediaWiki {
$article = $this->initializeArticle();
if ( is_object( $article ) ) {
$pageView = true;
+ /**
+ * $wgArticle is deprecated, do not use it.
+ * @deprecated since 1.18
+ */
+ global $wgArticle;
+ $wgArticle = $article;
+
$this->performAction( $article );
} elseif ( is_string( $article ) ) {
$output->redirect( $article );