Index: trunk/extensions/WebDAV/WebDavServer.php |
— | — | @@ -334,7 +334,7 @@ |
335 | 335 | } |
336 | 336 | } |
337 | 337 | |
338 | | - $article = MediaWiki::articleFromTitle( $title, RequestContext::getMain() ); |
| 338 | + $article = Article::newFromTitle( $title, RequestContext::getMain() ); |
339 | 339 | |
340 | 340 | $rawPage = new RawPage( $article ); |
341 | 341 | |
— | — | @@ -395,7 +395,7 @@ |
396 | 396 | $title = Title::newMainPage(); |
397 | 397 | } |
398 | 398 | |
399 | | - $article = MediaWiki::articleFromTitle( $title, RequestContext::getMain() ); |
| 399 | + $article = Article::newFromTitle( $title, RequestContext::getMain() ); |
400 | 400 | |
401 | 401 | # Must check if article exists to avoid 500 Internal Server Error |
402 | 402 | |
— | — | @@ -434,7 +434,7 @@ |
435 | 435 | return; |
436 | 436 | } |
437 | 437 | |
438 | | - $article = MediaWiki::articleFromTitle( $title, RequestContext::getMain() ); |
| 438 | + $article = Article::newFromTitle( $title, RequestContext::getMain() ); |
439 | 439 | |
440 | 440 | if ( ( $handle = $this->openRequestBody() ) === false ) { |
441 | 441 | return; |
Index: trunk/extensions/TalkHere/TalkHere.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | $wgRequest = new FauxRequest( $args ); |
62 | 62 | $wgTitle = $title; |
63 | 63 | |
64 | | - $article = MediaWiki::articleFromTitle( $title, RequestContext::getMain() ); |
| 64 | + $article = Article::newFromTitle( $title, RequestContext::getMain() ); |
65 | 65 | $editor = new TalkHereEditPage( $article ); |
66 | 66 | |
67 | 67 | //generate form |
Index: trunk/extensions/TalkHere/TalkHereHooks.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | |
48 | 48 | $skin = $wgUser->getSkin(); |
49 | 49 | |
50 | | - $talkArticle = MediaWiki::articleFromTitle( $talk, RequestContext::getMain() ); |
| 50 | + $talkArticle = Article::newFromTitle( $talk, RequestContext::getMain() ); |
51 | 51 | |
52 | 52 | $wgOut->addHTML('<div class="talkhere" id="talkhere">'); |
53 | 53 | |