2011/4/3 Amir E. Aharoni amir.aharoni@mail.huji.ac.il:
I'm not a real MediaWiki developer, so it may be a silly question: How hard it is to convert a gadget into an extension? If it's not too hard, wouldn't it be better to redo useful gadgets as extensions? Unless i miss something very basic, this will make them easier to maintain, install, update and localize.
It's fairly easy. I guess a howto could be written for this.
Basically, you need to * put the CSS and JS in one or more files (split where it makes sense) * write an extension setup file that registers them * hook into some hook that makes sense for your use case, and call addModule()
Roan Kattouw (Catrope)