From aa872f67cdd4ddbf3e784eb644ef2ae21a8abfc1 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 4 Dec 2009 16:04:01 +0000 Subject: [PATCH] Revert r59730 for now. Has some warnings and might be causing a weird regression I cant track down --- RELEASE-NOTES | 2 -- includes/HistoryPage.php | 6 ------ 2 files changed, 8 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b8871e4c59..7530fc74e2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -665,8 +665,6 @@ Hopefully we will remove this configuration var soon) due to an infinite loop of job requeues. * (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have the page selector when they have only one page -* (bug 15853) Feeds for non-existing pages returned a feed of all pages where - rev_page = 0 == API changes in 1.16 == diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index dbe2e0a5ab..ebbc400334 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -182,12 +182,6 @@ class HistoryPage { * used by the main UI but that's now handled by the pager. */ function fetchRevisions($limit, $offset, $direction) { - - // Fail if article doesn't exist. - if( !$this->mTitle || !$this->mTitle->exists() ) { - return array(); - } - $dbr = wfGetDB( DB_SLAVE ); if( $direction == HistoryPage::DIR_PREV ) -- 2.20.1