Gilles has uploaded a new change for review.

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

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: I9d5cc55a5218bef618878e90773a99047d942beb
---
M skin.json
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/MonoBook 
refs/changes/80/208980/1

diff --git a/skin.json b/skin.json
index 1a4efc8..406f7c9 100644
--- a/skin.json
+++ b/skin.json
@@ -19,6 +19,7 @@
        },
        "ResourceModules": {
                "skins.monobook.styles": {
+                       "position": "top",
                        "styles": {
                                "main.css": {
                                        "media": "screen"

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d5cc55a5218bef618878e90773a99047d942beb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/MonoBook
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