Page MenuHomePhabricator

[Task] Transfer edit comments to client
Closed, ResolvedPublic1 Estimated Story Points

Description

Edit comments are currently not transferred to the client at all. A "comment" field exists in EntityChange metadata, but it's always empty. We need to put the edit comment into the EntityChange sent to the clients:
EntityChange: drop the $comment field, drop setComment, implement getComment based on getMetadata, plus the fallback logic from the old setComment.
EntityChange: Set 'comment' field in metadata in setMetadataFromRC; Set all metadata (including comment) in setRevisionInfo(); retain comment in setMetadataFromUser().

Event Timeline

Tobi_WMDE_SW raised the priority of this task from to Medium.
Tobi_WMDE_SW updated the task description. (Show Details)
Addshore renamed this task from Transfer edit comments to client to [Task] Transfer edit comments to client.Aug 14 2015, 3:11 PM

Change 231570 had a related patch set uploaded (by Addshore):
Remove 'comment' from EntityChange::setMetadata validKeys

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

Change 231570 merged by jenkins-bot:
Remove 'comment' from EntityChange::setMetadata validKeys

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

Change 232924 had a related patch set uploaded (by Daniel Kinzler):
Record edit summary in Change objects.

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

Change 232924 merged by jenkins-bot:
Record edit summary in Change objects.

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

daniel moved this task from Review to Done on the Wikidata-Sprint-2015-08-18 board.

merged