Page MenuHomePhabricator

Stop using wbEntity from mw.config in entityViewInit
Closed, ResolvedPublic

Description

Before we can add a deprecation warning to mw.config.get( 'wbEntity' ), we need to stop using it in wikibase.ui.entityViewInit, otherwise that warning will just appear on every page indiscriminately, making it useless.

Event Timeline

Change 388483 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Check wbEntityId instead of wbEntity in entityViewInit

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

Change 388483 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Don’t check wbEntity in entityViewInit

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

Lucas_Werkmeister_WMDE closed this task as Resolved.Nov 7 2017, 12:56 PM