From 6d626866deecc4aaeaf3619eb78a1a07db1e472b Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 9 Dec 2011 05:37:57 +0000 Subject: [PATCH] Fix comment from r102287 --- includes/FeedUtils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index a8a86ba1bd..ecf3ac71ad 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -102,8 +102,8 @@ class FeedUtils { $anon = new User(); $accErrors = $title->getUserPermissionsErrors( 'read', $anon, true ); - # Early exist when the page is not an article, on errors and no newid to - # compare. + // Can't diff special pages, unreadable pages or pages with no new revision + // to compare against: just return the text. if( $title->getNamespace() < 0 || $accErrors || !$newid ) { wfProfileOut( __METHOD__ ); return $completeText; -- 2.20.1