SPQRobin has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/132589

Change subject: Link to diff in contribution feed
......................................................................

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
---
M includes/api/ApiFeedContributions.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/89/132589/1

diff --git a/includes/api/ApiFeedContributions.php 
b/includes/api/ApiFeedContributions.php
index 6f7121b..afd5a13 100644
--- a/includes/api/ApiFeedContributions.php
+++ b/includes/api/ApiFeedContributions.php
@@ -112,7 +112,7 @@
                        return new FeedItem(
                                $title->getPrefixedText(),
                                $this->feedItemDesc( $revision ),
-                               $title->getFullURL(),
+                               $title->getFullURL( array( 'diff' => 
$revision->getId() ) ),
                                $date,
                                $this->feedItemAuthor( $revision ),
                                $comments

-- 
To view, visit https://gerrit.wikimedia.org/r/132589
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie33e2ba90e7a7566d0e0925220b8fd12b1928513
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: SPQRobin <robinp.1...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to