Last modified: 2013-01-30 15:47:01 UTC
Uncaught TypeError: Object #<Object> has no method 'isAnon' We see this on wikidata.org when logged out. Error occurs on line 148 of wikibase.ui.entityViewInit.js not all the functions and stuff in mw.user are loaded at this point or not available. mw.user IS an object, though.
Unfortunately, we had to temporarily disable the anon warning. https://gerrit.wikimedia.org/r/#/c/44359/ Even with asking frond-end folks like Kaldari, we couldn't figure out a quick, easy hotfix for this. Hope we have a fix for this soon.
Try setting a dependency against 'mediawiki.user' either in the module definition or dynamically using mw.loader.using (first one is preferred of course).
Change Ie22a7213: (bug 44051) Adding mediawiki.user dependency to entityViewInit
Verified in Wikidata demo sprint 30