Andrew Dunbar schrieb:
I'm having trouble getting a simple one-line User
JS working on Wiktionary.
Apologies if this is not the right mailing list. None
of the lists
seemed fit according to
http://www.mediawiki.org/wiki/Mailing_lists
I think the
http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts would be
a better place to discuss. Even though it's not Wiktionary, you should
find the (user-)JS gurus there :-)
Apart from that, I guess your code interferes with the
ext.vector.collapsibleNav.js module. Waiting for it (with
mw.loader.using) before executing your snippet should work.
regards,
Bergi