aude added a comment.

I think this is a timing issue, with not all the dom elements initialized when 
the gadget is being initialized.

https://www.wikidata.org/w/index.php?title=User%3AAude%2Fauthority.js&diff=195642836&oldid=195637395
 might fix but I have some difficulty in verifying it.

As a user script, the old version always works (suppose because load timing of 
scripts is different than gadgets). In debug=true, the (current code) gadget 
also works for me.

On test.wikidata, the current gadget code works for me as well, on Q22 (without 
debug=true).

As far as I can tell, my changes don't break anything and might be worth a try, 
unless someone has a better idea how to fix.


TASK DETAIL
  https://phabricator.wikimedia.org/T89259

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: aude
Cc: JanZerebecki, Aklapper, aude, Ebekebe, Wikidata-bugs



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to