MediaWiki talk:Gadget-Edittools.js/Archive 1

See MediaWiki talk:Edittools.

Depends on "Show edit toolbar"

I've noticed that this gadget depends on "Show edit toolbar" in preferences to be active. If not, clicking on buttons won't work and the following error massage appears in console:

06:27:59.153 TypeError: mw.toolbar is undefined1 index.php:1:1

Is there any way to make sure that this gadget will work even if the edit toolbar is disabled in user's preferences? Dalba 03:16, 3 November 2015 (UTC)Reply

mw.loader.using('mediawiki.toolbar', callback) seems to be a solution. I would suggest adding it to this gadget as well. @Krinkle: What do you think? Dalba 12:18, 3 November 2015 (UTC)Reply
This is probably fixed with current mediawiki. Bawolff (talk) 23:04, 11 June 2016 (UTC)Reply
Return to "Gadget-Edittools.js/Archive 1" page.