Page MenuHomePhabricator

Reduce code duplication between Item/Property term store classes
Closed, ResolvedPublic

Description

We want to keep the conceptual separation between Item and Property terms, but still find ways to share more of the actual code instead of having it copy+pasted.

Classes include:

  • DatabaseItemTermStoreWriter/DatabasePropertyTermStoreWriter
  • PrefetchingItemTermLookup/PrefetchingPropertyTermLookup
  • ItemTermsRebuilder/PropertyTermsRebuilder

Create a new subtask for each pair when picking this story up.

Event Timeline

Lucas_Werkmeister_WMDE renamed this task from Reduce code duplication between Item/Property classes to Reduce code duplication between Item/Property term store classes.Oct 1 2020, 9:07 AM
Lucas_Werkmeister_WMDE updated the task description. (Show Details)

I think this is done – all three subtasks are closed, and I didn’t spot any other candidates for deduplicating in git ls '*Item*.php' ':!*/tests/*'.