https://bugzilla.wikimedia.org/show_bug.cgi?id=31511

--- Comment #5 from [email protected] 2011-10-08 15:01:15 UTC ---
Created attachment 9193
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9193
Current gadget + [ResourceLoader|dependencies=mediawiki.action.edit]: no
errors, but not fully functional

If you inspect the gadget code, you'll notice that it uses "mw.toolbar" from
module "mediawiki.action.edit". So, it seems necessary to add this module as a
dependency for that gadget. This is made by changing its definition to

 *
Extra-Editbuttons[ResourceLoader|dependencies=mediawiki.action.edit]|Extra-Editbuttons.js

Althought this fix the errors, the gadget is now unable to remove the default
buttons from MediaWiki classic toolbar.

This is something which I don't see how could be fixed by the local sysops
themselves. The JS code from classic toolbar kind of has the gadget as a
dependency in order to work as the user expects, but this isn't something we
(sysops) can do, I think. This is why I opened this bug. Maybe it is already
possible to fix it directly on our wikis, but I wasn't able to find out how...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to