wmde / WikibaseReconcileEdit

GNU General Public License v2.0
3 stars 3 forks source link

Extract ItemReconciler service #37

Closed lucaswerkmeister closed 3 years ago

lucaswerkmeister commented 3 years ago

This service wraps a ReconciliationService and SimplePutStrategy and extracts the reconciliation URL from an input item before passing it to the ReconciliationService and SimplePutStrategy. Its return value is an Item and a revision ID, but the meaning is quite different, so we introduce a new result class, ReconciledItem, rather than reusing ReconciliationItem.

Bug: T283567


Includes one preparation commit to move some classes.

The names “ItemReconciler” and “ReconciledItem” aren’t that great… any other ideas?