Revert r59730 for now. Has some warnings and might be causing a weird regression...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 4 Dec 2009 16:04:01 +0000 (16:04 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 4 Dec 2009 16:04:01 +0000 (16:04 +0000)
RELEASE-NOTES
includes/HistoryPage.php

index b8871e4..7530fc7 100644 (file)
@@ -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 ==
 
index dbe2e0a..ebbc400 100644 (file)
@@ -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 )