Last modified: 2013-01-30 15:47:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46051, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44051 - Uncaught TypeError: Object #<Object> has no method 'isAnon'
Uncaught TypeError: Object #<Object> has no method 'isAnon'
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-16 23:30 UTC by Aude
Modified: 2013-01-30 15:47 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2013-01-16 23:30:57 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.
Comment 1 Aude 2013-01-16 23:40:54 UTC
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.
Comment 2 Marius Hoch 2013-01-16 23:42:34 UTC
Try setting a dependency against 'mediawiki.user' either in the module definition or dynamically using mw.loader.using (first one is preferred of course).
Comment 3 Wikidata Bot 2013-01-17 09:21:40 UTC
Change Ie22a7213: (bug 44051) Adding mediawiki.user dependency to entityViewInit
Comment 4 abraham.taherivand 2013-01-30 15:47:01 UTC
Verified in Wikidata demo sprint 30

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links