From: Alexandre Emsenhuber Date: Wed, 9 Nov 2011 11:39:52 +0000 (+0000) Subject: Use WikiPage instead of Article X-Git-Tag: 1.31.0-rc.0~26624 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=e669369005cfeaaac2c56d63c78c048f0c03068a;p=lhc%2Fweb%2Fwiklou.git Use WikiPage instead of Article --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 3c08ee731e..dc509ecaeb 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -398,7 +398,7 @@ class PageArchive { $dbw = wfGetDB( DB_MASTER ); # Does this page already exist? We'll have to update it... - $article = new Article( $this->title ); + $article = WikiPage::factory( $this->title ); # Load latest data for the current page (bug 31179) $article->loadPageData( 'fromdbmaster' ); $oldcountable = $article->isCountable();