Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -267,6 +267,13 @@ |
268 | 268 | $article = $this->initializeArticle(); |
269 | 269 | if ( is_object( $article ) ) { |
270 | 270 | $pageView = true; |
| 271 | + /** |
| 272 | + * $wgArticle is deprecated, do not use it. |
| 273 | + * @deprecated since 1.18 |
| 274 | + */ |
| 275 | + global $wgArticle; |
| 276 | + $wgArticle = $article; |
| 277 | + |
271 | 278 | $this->performAction( $article ); |
272 | 279 | } elseif ( is_string( $article ) ) { |
273 | 280 | $output->redirect( $article ); |