From: Tim Starling Date: Fri, 9 Dec 2011 05:37:57 +0000 (+0000) Subject: Fix comment from r102287 X-Git-Tag: 1.31.0-rc.0~26114 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=6d626866deecc4aaeaf3619eb78a1a07db1e472b;p=lhc%2Fweb%2Fwiklou.git Fix comment from r102287 --- 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;