Hi!
I have problem to use classes in a gadget. This message show to me in the console::
JavaScript parse error: Parse error: Missing ; before statement in file 'MediaWiki:Gadget-fastbuttons.js/core.js' on line 25
The script can be acessed here.
My question is: we cannot use class in gadgets? That’s weird, because the editor doesn’t show any error before save, but the parser do…