wikibase.client.init currently does not define a targets (T235712). As a result it is silently removed from pages where it does not apply causing warnings. It must define these. If the code is not intended for mobile this should be handled in the logic that adds the module to the page.
Despite this, it doesn't load on desktop Minerva, so it seems like this logic is working:
- If I visit https://www.wikidata.org/wiki/Q83200962?useskin=minerva
- And open the consule and run: mw.loader.getState('wikibase.client.init') == 'registered' I can see this is true. (
Note that when run in mobile, non-mobile targeted modules will have a state of undefined)
I think all that Wikibase therefore needs to do is define targets (and verify the code loads or doesn't load in Minerva and mobile as before)