resourceloader: Consistent stylesheet order for debug and non-debug
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 17 Feb 2017 23:21:59 +0000 (15:21 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 17 Feb 2017 23:21:59 +0000 (15:21 -0800)
commit44f3f068df0f35e7b276afbb6347537ed82e2683
treeb56012cbb40e32748641c2674618217d78d78875
parent8a7776db13afabd2a84dae1c5ec71161e36ed2c2
resourceloader: Consistent stylesheet order for debug and non-debug

Previously, style modules were only in a predictable order for production mode.
In debug mode, the order was determined by order in which modules were added
to queue at run time. This made it sometimes hard to debug, especially when
dealing with gadgets that apply in a different order among each other.

Change-Id: I4bff0c91d127e4ad8015cd8c1775220fe460cbc3
includes/resourceloader/ResourceLoaderClientHtml.php
tests/phpunit/includes/resourceloader/ResourceLoaderClientHtmlTest.php