resourceloader: Remove styles from 'site', depend on 'site.styles'
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 6 Jun 2016 18:21:36 +0000 (19:21 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 26 Jul 2016 23:13:03 +0000 (23:13 +0000)
commit7bb7315d41dfbb65c7790558b0e7672b38e86761
treeec5eb58028aecd399cf88ed4b37890d8cc925338
parent5d7f5f4b7cda26d4a2e308818c97e4eaa3de5145
resourceloader: Remove styles from 'site', depend on 'site.styles'

For legacy reasons, the site module has always been both a script
module and a page-style module at the same time. Meaning, the styles
and scripts portion of it don't directly relate to each other, rather
they both relate to the page directly. As such, they should be
loaded separately.

Loading it as a dynamic module is not an option as its styles should
be top-loaded and not depend on JavaScript. The restriction that
will be put it place for T92459 also requires the module be split.

For environments that use static file or proxy caching, this MUST
be deployed after Ic137cb494 and I8b6c6a1 have been deployed and all
cache has rolled over.

Bug: T92459
Bug: T108590
Change-Id: Id2342454bdc87a7c4d194f7350caa699ec4054b9
includes/resourceloader/ResourceLoaderSiteModule.php