Last modified: 2014-08-30 13:53:51 UTC
MergeItems is the most complex API module we have and it needs quite some refactoring/splitting up. What and how exactly should be discussed and turn into small actionable items.
(updated the summary, changing scope slightly) MergeItems is not that complex compared to EditEntity or even GetEntities. However, before we add more functionality (like automatically creating redirects), we want to factor the interaction logic (aka business logic) out of the API module, so it can be reused by the correspinding special page.
Relevant patch https://gerrit.wikimedia.org/r/#/c/151145/ Should be sufficient, I made a new ticket for refactoring SpecialMergeItem (bug 69106).
Change 151145 merged by jenkins-bot: Introducing MergeItemsInteractor https://gerrit.wikimedia.org/r/151145