From: Chad Horohoe Date: Fri, 4 Dec 2009 16:04:01 +0000 (+0000) Subject: Revert r59730 for now. Has some warnings and might be causing a weird regression... X-Git-Tag: 1.31.0-rc.0~38625 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=aa872f67cdd4ddbf3e784eb644ef2ae21a8abfc1;p=lhc%2Fweb%2Fwiklou.git Revert r59730 for now. Has some warnings and might be causing a weird regression I cant track down --- 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 )