Page MenuHomePhabricator

Split WikibaseRepo AliasTermBuffer service from TermBuffer
Closed, ResolvedPublic

Description

Currently, WikibaseRepo::getTermBuffer() returns TermBuffer|AliasTermBuffer according to the phpdoc, which is really two services (though with a shared implementation). Split them up.

Event Timeline

On second thought, since the main AliasTermBuffer user is EntityTerms, and that is very closely related to client PageTerms, let’s wait with this task until client’s TermBuffer is also migrated. (I.e., this waits not just for T277774 but also for T277897.)

Change 677300 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] repo: extract AliasTermBuffer service

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

Change 677300 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] repo: extract AliasTermBuffer service

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