Specifics of the technical problem:
We're using some of Wikibase's js code in MediaInfo code, and it looks like that code might rapidly become obsolete.
This ticket is to get an idea of the work involved in using that code via an adapter instead of directly, so that our dependency on WikiBase JS is confined to one place, and if something changes it should be picked up by our tests.
Update: The WB datamodels are not much more than value objects. And there's the serialization back and forth to JSON. There's really not much to wrap inside an adapter, building an actual implementation ourselves immediately might not be much harder than building an adapter.
Other people to be notified (devs etc):
Probably will need a meeting of all devs to discuss at the end of this spike
Acceptance Criteria:
- a rough idea (days) of how long it would take to create the adapter and tests
- a set of desired tests that should cover most of the functionality of the adapter/the underlying wikibase code