pages which had spaces in theirs names
* If restricted read access was enabled, requests for non-existing special pages
threw an exception
+* Feeds for recent changes now provide correct URLs for the change, not just
+ the page
=== API changes in 1.12 ===
/**#@+
* @todo document
+ * @param $Url URL uniquely designating the item.
*/
function __construct( $Title, $Description, $Url, $Date = '', $Author = '', $Comments = '' ) {
$this->Title = $Title;
return true;
}
+/**
+ * @todo document
+ * @param $rows Database resource with recentchanges rows
+ */
function rcDoOutputFeed( $rows, &$feed ) {
- $fname = 'rcDoOutputFeed';
- wfProfileIn( $fname );
+ wfProfileIn( __METHOD__ );
$feed->outHeader();
$item = new FeedItem(
$title->getPrefixedText(),
rcFormatDiff( $obj ),
- $title->getFullURL(),
+ $title->getFullURL( 'diff=' . $obj->rc_this_oldid . '&oldid=prev' ),
$obj->rc_timestamp,
$obj->rc_user_text,
$talkpage->getFullURL()
$feed->outItem( $item );
}
$feed->outFooter();
- wfProfileOut( $fname );
+ wfProfileOut( __METHOD__ );
}
/**