From: Timo Tijhof Date: Fri, 24 Jun 2016 13:51:27 +0000 (+0200) Subject: Restore load position override for 'site.styles' module X-Git-Tag: 1.31.0-rc.0~6523 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=c20a76ee0a37888cc45fe32a54c61c5ed609b595;p=lhc%2Fweb%2Fwiklou.git Restore load position override for 'site.styles' module Follows-up 93ed259 which changed the module to be 'site.styles', but the override was still looking for a module called 'site' (which isn't listed in that queue anymore). Bug: T138586 Change-Id: I3052a2e378f804d0d4d117f8ed446fe9b4b59f99 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 53c70d8554..5c7203d907 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3694,7 +3694,7 @@ class OutputPage extends ContextSource { if ( !$module ) { continue; } - if ( $name === 'site' ) { + if ( $name === 'site.styles' ) { // HACK: The site module shouldn't be fragmented with a cache group and // http request. But in order to ensure its styles are separated and after the // ResourceLoaderDynamicStyles marker, pretend it is in a group called 'site'.