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:
c5d9be8
)
Add deprecated $wgArticle again. Fixes r88588.
author
Platonides
<platonides@users.mediawiki.org>
Sat, 18 Jun 2011 14:55:22 +0000
(14:55 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Sat, 18 Jun 2011 14:55:22 +0000
(14:55 +0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
3db5835
..
9c6c1da
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-198,6
+198,14
@@
class MediaWiki {
// may be a redirect to another article or URL.
$article = $this->initializeArticle();
if ( is_object( $article ) ) {
+ /**
+ * $wgArticle is deprecated, do not use it. This will possibly be removed
+ * entirely in 1.20 or 1.21
+ * @deprecated since 1.19
+ */
+ global $wgArticle;
+ $wgArticle = $article;
+
$this->performAction( $article );
wfProfileOut( __METHOD__ );
return $article;