https://bugzilla.wikimedia.org/show_bug.cgi?id=29584
--- Comment #6 from Krinkle <[email protected]> 2011-06-26 03:04:30 UTC --- I disagree the format of mw.loader.load("User:Edokter/MenuToTabs.js"); should be a goal. It encourages users to harcode script references (be it filepaths, urls or wiki pagenames) which makes maintenance a nightmare. It also doesn't motivate or make it easy for users to: * centralize * share (rather than copy) * translate * modulize (ie. Foo:Bar/core.js, Foo:Bar/lorem.js, Foo:Bar/pluginBaz.js ) * etc. The solution is to use modules which may or may not be loaded from a wiki page. Currently (MediaWiki 1.17) they can be created as a gadget by sysops (or anyone with access to MediaWiki:-namespace) and three of the most important module-features (minification, combination of scripts/styles and dependancies) are already supported. In ResourceLoader 2.0 these will be editable by anyone with the editgadget (or whatever the name will be) userright (not just sysops, or perhaps not sysops at all and/or people like you) from the Special:GadgetManager page. At that point support for the other module-features such as messages (for localizaton) will be implemented as well. -- 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
