Commit graph

59 commits

Author SHA1 Message Date
Platonides 5ec0566f1d Merge r81884 (the other half is already in trunk) 2011-02-10 18:05:50 +00:00
Happy-melon edb861eaf2 Follow-up r64670 (bug22929): cleaner implementation of security for script (and potentially CSS) files. ResourceLoader *already* knows where each module has come from, so all we need to do is filter them in OutputPage according to the desired level of 'trustworthiness'.
TODO:
* Are there instances where we might want to restrict CSS as well as JS?
* Would a $wg config option and/or user preference and/or index.php GET parameter to limit inclusion be useful?
* Can we deprecate any of the existing $wg config options?
* What's going on with the duplicated code between OutputPage and SkinTemplate?
2011-02-04 16:39:17 +00:00
Sam Reed a28171f959 Remainder of some more undefined variables 2011-01-23 10:35:15 +00:00
Max Semenik f3067c12f5 Removed outdated comments. Yay, RL managed to fix some things along with breaking the others! :P 2010-11-14 11:13:13 +00:00
Max Semenik 6bb8086e45 rm stray tab from r76639 2010-11-13 19:13:43 +00:00
Max Semenik 7a5af63a10 Support for specifying extra modules as gadget's dependencies 2010-11-13 18:45:21 +00:00
Max Semenik 4b478672bf More gadgets fixage 2010-11-11 19:23:38 +00:00
Max Semenik 0345201333 Stupid, stupid /me (ping r76527) 2010-11-11 19:10:57 +00:00
Max Semenik 66a0821cb7 Merged branches/Gadgets-work/ to trunk. It now uses ResourceLoader (scripts must be explicitly marked as supporting it to be loaded this way), and in process I've completely rewritten its internal organisation in OOP style. Documentation commits will follow. 2010-11-11 18:19:57 +00:00