Page MenuHomePhabricator

🟧️ Implement user provided "comment" field as edit summary
Closed, ResolvedPublic

Description

  • add property to EditMetadata class
  • add to the use case request object in the route handler and pass the value down to the EditMetadata object in the use case
  • add entry to route handler body validation for the comment field
  • pass the value to attemptSave() in MediaWikiEditEntityFactoryItemUpdater
  • test all the things (including e2e test)

Event Timeline

Change 808217 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Use user provided comment as edit summary

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

Change 808217 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Use user provided comment as edit summary

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