https://bugzilla.wikimedia.org/show_bug.cgi?id=27771
--- Comment #5 from Nux <e...@wp.pl> 2011-04-02 21:29:37 UTC --- (In reply to comment #4) > (In reply to comment #2) > > > Please note that this is targeted primarily at Wikimedia sites where you > > don't > > have access to PHP and, to my knowledge, you don't have any way to say > > "script > > X requires script Y; make it happen" with RL. > > You can specify dependencies for gadgets like * Gadgetname > [ResourceLoader|dependencies=foo.bar, bar.foo]|Gadgetname.js|Gadgetname|.css Could you give a more specific example on how would I use that in JS? Let's say I have a script User:Name/script.js that needs MediaWiki:Library.js. > Essentially, you're requesting a combination of bug 13742 (Allow for gadgets > to > be turned on by default) and bug 12211 (Show some gadgets only for admins) and > so on. I've worked in this direction today, meanwhile I think this bug is a > duplicate. No, because this is not only for gadgets. Not all gadgets end up implemented as actual Gadgets. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l