(bug 38024) Skip styles for modules that don't have stylesheets
authorTimo Tijhof <ttijhof@wikimedia.org>
Thu, 28 Jun 2012 13:10:39 +0000 (15:10 +0200)
committerTimo Tijhof <ttijhof@wikimedia.org>
Thu, 28 Jun 2012 13:10:39 +0000 (15:10 +0200)
commitd3286132461554a949d11e07bfba2aaea025608a
tree0454a5036c1f60b27d1bd543c062528ca6eac999
parent605ebb52872e4ab53f64588108d258e08bb8ea01
(bug 38024) Skip styles for modules that don't have stylesheets

* <s>Best viewed in IE 4 and with a 800x600 resolution.<s>
  Best viewed with -w due to additional indention.

* Saves number of <style> tags inserted, which in turn is good for
  IE's stupid stylesheet limit (bug 31676).

* Also saves a little bit of bandwidth by outputting
  {} instead of {"":""}.

Change-Id: I436a6a1c64452fc60a58fd9a478a2ac2b1328211
RELEASE-NOTES-1.20
includes/resourceloader/ResourceLoader.php