From 5b5fe8d73bdb18c1b78423565766c358e7aa0b05 Mon Sep 17 00:00:00 2001 From: robin Date: Sat, 10 May 2014 03:41:16 +0200 Subject: [PATCH] Link to diff in contribution feed Link to the actual differences in the API contributions feed. Related to bug 10268 (which is for watchlist, which already has this as an option disabled by default). Change-Id: Ie33e2ba90e7a7566d0e0925220b8fd12b1928513 --- includes/api/ApiFeedContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiFeedContributions.php b/includes/api/ApiFeedContributions.php index 6f7121b8ac..afd5a1320c 100644 --- a/includes/api/ApiFeedContributions.php +++ b/includes/api/ApiFeedContributions.php @@ -112,7 +112,7 @@ class ApiFeedContributions extends ApiBase { return new FeedItem( $title->getPrefixedText(), $this->feedItemDesc( $revision ), - $title->getFullURL(), + $title->getFullURL( array( 'diff' => $revision->getId() ) ), $date, $this->feedItemAuthor( $revision ), $comments -- 2.20.1