Last modified: 2014-10-27 19:07:50 UTC
I'm not sure whether what I think is the bug is actually the bug. But in any case, this is related to https://www.wikidata.org/wiki/MediaWiki:Gadget-AuthorityControl.js. On first page view it works fine, but if I use my browser's refresh button, the gadget doesn't load. I added some debug statements to the gadget, and it seems like the wikibase.domready hook isn't firing after a refresh. Firefox 30.0 on OSX 10.9
Confirmed on Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140319 Firefox/24.0 Iceweasel/24.4.0 (Debian 3.2.54-2 x86_64).
The wikibase.domready hook was not supposed to be permanent and has been removed in https://gerrit.wikimedia.org/r/#/c/157794/. You already implemented an alternative in the gadget. I would recommend attaching to the more reliable "create" event of the entityview widget as we have been trying to decouple the concept of the entityview from the concept of a page. As entityview is a jQuery widget, a "create" event, prefixed with the widget's event prefix ("entityview") will be triggered via the jQuery widget base constructor right after the widget's _create() function has been issued. If there are no objections, I would recommend closing this bug.