Topic on Extension talk:Wikibase Client

Javascript: wikibase is not defined

2
Samwilson (talkcontribs)

After enabling the Wikibase client, I was hoping to be able to use the <code>wikibase.client</code> javascript resources, but it seems they're not being loaded: <code>wikibase is not defined</code>

Can anyone tell me where I've gone wrong? I've tried to follow all the installation instructions.

Tacsipacsi (talkcontribs)

Have you used mw.loader.using('wikibase.client.X', ...)? Otherwise it will be loaded only if used by another module.

Reply to "Javascript: wikibase is not defined"