Gilles has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/208977

Change subject: Explicitly define module position
......................................................................

Explicitly define module position

Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: I209f93a49ddd0aa143348c0238849a121856dce1
---
M Resources.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/77/208977/1

diff --git a/Resources.php b/Resources.php
index 4e0a8cf..0d05f64 100644
--- a/Resources.php
+++ b/Resources.php
@@ -271,6 +271,7 @@
 ) + $resourcePaths;
 
 $wgResourceModules['jquery.uls.grid'] = array(
+       'position' => 'top',
        'styles' => 'lib/jquery.uls/css/jquery.uls.grid.css',
 ) + $resourcePaths;
 

-- 
To view, visit https://gerrit.wikimedia.org/r/208977
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I209f93a49ddd0aa143348c0238849a121856dce1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Gilles <gdu...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to