Page MenuHomePhabricator

Wikibase id should be retrieveable from M.require( 'util' )
Closed, ResolvedPublic

Description

For infoboxes the wikidataid override is not working.
startup/init.js
and infobox/init.js are duplicating work.

We should create a method in util.js for these.
instead of mw.config.get( 'wgWikibaseItemId' )
util.getWikiBaseItemId()

Details

Related Gerrit Patches:
mediawiki/extensions/MobileFrontend : masterMake WikiBase ID easily retrievable

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson moved this task to Incoming on the Readers-Web-Backlog board.
Jdlrobson added a subscriber: Jdlrobson.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 25 2015, 8:20 PM

Change 194658 had a related patch set uploaded (by Bmansurov):
Make WikiBase ID easily retrievable

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

bmansurov added a subscriber: bmansurov.

Also, please review the related patch [1].

[1] https://gerrit.wikimedia.org/r/#/c/194671/

Change 194658 merged by jenkins-bot:
Make WikiBase ID easily retrievable

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

bmansurov closed this task as Resolved.Mar 6 2015, 6:42 PM
bmansurov claimed this task.
phuedx set Security to None.