https://bugzilla.wikimedia.org/show_bug.cgi?id=27488
--- Comment #22 from Nux <[email protected]> 2011-04-02 17:29:37 UTC --- (In reply to comment #20) > (In reply to comment #18) > > From user script developer side of view I would want a way to inject scripts > > before or after other scripts. > > I'm not convinced that that is really what a script developer wants (or at > least *should* want). What you *really* want is an environment where these > things are not a concern. We actually *don't* want wiki users to have either > the ability or inclination to microtune the mechanics of resource loading; > instead we want to provide a nice interface which allows users to specify in > abstract terms what they want, and then a backend which works correctly to > deliver it. It's certainly true that that system is not correct or complete > currently. There are various scripts out there. People try to fill in the holes in MW to make it good for writing Encyclopedia content, fighting vandals, proofreading and what-not. Doing this sometimes includes changing crucial parts of the interface, there is no way to avoid this and this is already the reality. BTW a bug related to this problem is a bug 27771. A Krinkle idea in comment #15 seems fine to me. > Rather, we should think of the with-javascript case as the default and treat > the without-script case as the exception. In r83292 I introduced support for > loading MediaWiki:Noscript.css in a <noscript></noscript> tag in the > header. That infrastructure could easily be extended to load core noscript > modules. Having that extra option: to safely do something in CSS knowing you > can *undo* it in CSS for script-less browsers, could open up some interesting > new possible avenues. This a good addition, but it will not always work. For example if your script is to change something conditionally then it cannot be handled with CSS alone. This is only possible if you use doc.write in the header to create the CSS. -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
