From e669369005cfeaaac2c56d63c78c048f0c03068a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 9 Nov 2011 11:39:52 +0000 Subject: [PATCH] Use WikiPage instead of Article --- includes/specials/SpecialUndelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1