Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -198,6 +198,14 @@ |
199 | 199 | // may be a redirect to another article or URL. |
200 | 200 | $article = $this->initializeArticle(); |
201 | 201 | if ( is_object( $article ) ) { |
| 202 | + /** |
| 203 | + * $wgArticle is deprecated, do not use it. This will possibly be removed |
| 204 | + * entirely in 1.20 or 1.21 |
| 205 | + * @deprecated since 1.19 |
| 206 | + */ |
| 207 | + global $wgArticle; |
| 208 | + $wgArticle = $article; |
| 209 | + |
202 | 210 | $this->performAction( $article ); |
203 | 211 | wfProfileOut( __METHOD__ ); |
204 | 212 | return $article; |