Question we are trying to answer
In T223792 (parent task) I suggest to start writing to wb_terms, so that Wikibase's Lua support can find MediaInfo entities.
IIRC, wb_terms is in the process of being redesigned, though, and there appears to be migration code in Wikibase already.
We need to figure out:
- what is going to change and where in the process we are
- whether it makes sense to start writing to wb_terms at this point (and go through the pain - if any - of migrating), or if it's better to wait until migration done
- if we're going to have to go through the migration, we need to figure out what steps to take
- if we're waiting until migration is done, we might need to write different code to write to the new, redesigned, solution
- Decide whether https://gerrit.wikimedia.org/r/522355 can be merged, or should be changed
- Create a new ticket with follow-up steps (after merging that patch or shooting it down), if any