Index: trunk/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -398,7 +398,7 @@ |
399 | 399 | $dbw = wfGetDB( DB_MASTER ); |
400 | 400 | |
401 | 401 | # Does this page already exist? We'll have to update it... |
402 | | - $article = new Article( $this->title ); |
| 402 | + $article = WikiPage::factory( $this->title ); |
403 | 403 | # Load latest data for the current page (bug 31179) |
404 | 404 | $article->loadPageData( 'fromdbmaster' ); |
405 | 405 | $oldcountable = $article->isCountable(); |