Index: trunk/phase3/includes/FeedUtils.php |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | $anon = new User(); |
73 | 73 | $accErrors = $title->getUserPermissionsErrors( 'read', $anon, true ); |
74 | 74 | |
75 | | - if( $title->getNamespace() >= 0 && !$accErrors ) { |
| 75 | + if( $title->getNamespace() >= 0 && !$accErrors && $newid ) { |
76 | 76 | if( $oldid ) { |
77 | 77 | wfProfileIn( __FUNCTION__."-dodiff" ); |
78 | 78 | |
Index: trunk/phase3/includes/ChangesFeed.php |
— | — | @@ -118,7 +118,7 @@ |
119 | 119 | $item = new FeedItem( |
120 | 120 | $title->getPrefixedText(), |
121 | 121 | FeedUtils::formatDiff( $obj ), |
122 | | - $title->getFullURL( 'diff=' . $obj->rc_this_oldid . '&oldid=prev' ), |
| 122 | + $obj->rc_this_oldid ? $title->getFullURL( 'diff=' . $obj->rc_this_oldid . '&oldid=prev' ) : $title->getFullURL(), |
123 | 123 | $obj->rc_timestamp, |
124 | 124 | ($obj->rc_deleted & Revision::DELETED_USER) ? wfMsgHtml('rev-deleted-user') : $obj->rc_user_text, |
125 | 125 | $talkpage->getFullURL() |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -361,6 +361,8 @@ |
362 | 362 | "usercssyoucanpreview" and "userjsyoucanpreview" respectively. |
363 | 363 | * (bug 12110) Split the rights for editing users' CSS/JS subpage from |
364 | 364 | "editusercssjs" into "editusercss" and edituserjs" respectively. |
| 365 | +* (bug 19394) RecentChanges feed URLs for log items with no revisions |
| 366 | + (eg Newuser, Userrights) are no longer broken |
365 | 367 | |
366 | 368 | == API changes in 1.16 == |
367 | 369 | |