58 $this->format =
'atom';
61 $feedTitle =
"$wgSitename - {$title} [$wgLanguageCode]";
63 $feedTitle, htmlspecialchars( $description ), $url );
74 # Merge adjacent edits by one user
77 foreach ( $rows as $obj ) {
84 $obj->rc_namespace >= 0 &&
85 $obj->rc_cur_id == $sorted[$n - 1]->rc_cur_id &&
86 $obj->rc_user_text == $sorted[$n - 1]->rc_user_text ) {
87 $sorted[$n - 1]->rc_last_oldid = $obj->rc_last_oldid;
94 $nsInfo = MediaWikiServices::getInstance()->getNamespaceInfo();
95 foreach ( $sorted as $obj ) {
97 $talkpage = $nsInfo->hasTalkNamespace( $obj->rc_namespace ) &&
$title->isValid()
98 ?
$title->getTalkPage()->getFullURL()
102 if ( $obj->rc_deleted ) {
106 if ( $obj->rc_this_oldid ) {
107 $url =
$title->getFullURL( [
108 'diff' => $obj->rc_this_oldid,
109 'oldid' => $obj->rc_last_oldid,
113 $url =
$title->getFullURL();
117 $title->getPrefixedText(),
121 ( $obj->rc_deleted & RevisionRecord::DELETED_USER )
122 ?
wfMessage(
'rev-deleted-user' )->escaped() : $obj->rc_user_text,