MediaWiki talk:Gadget-Edittools.js/Archive 1
Latest comment: 8 years ago by Bawolff in topic Depends on "Show edit toolbar"
This page is an archive. Do not edit the contents of this page. Please direct any additional comments to the current talk page. |
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)
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)- This is probably fixed with current mediawiki. Bawolff (talk) 23:04, 11 June 2016 (UTC)