dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303017f
)
Fix comment from r102287
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 9 Dec 2011 05:37:57 +0000
(
05:37
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 9 Dec 2011 05:37:57 +0000
(
05:37
+0000)
includes/FeedUtils.php
patch
|
blob
|
history
diff --git
a/includes/FeedUtils.php
b/includes/FeedUtils.php
index
a8a86ba
..
ecf3ac7
100644
(file)
--- 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;