Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/214310
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: I8dbee3e4edf673341e7eb49f360e83e4dac54b17
(cherry picked from commit 849cbf21736fe02d305ef89bb04fe027f2a6a7ae)
---
M extension.json
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor
refs/changes/10/214310/1
diff --git a/extension.json b/extension.json
index 767263d..010c2e4 100644
--- a/extension.json
+++ b/extension.json
@@ -401,6 +401,7 @@
]
},
"ext.wikiEditor.toolbar.styles": {
+ "position": "top",
"group": "ext.wikiEditor",
"styles": "ext.wikiEditor.toolbar.styles.less"
},
--
To view, visit https://gerrit.wikimedia.org/r/214310
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8dbee3e4edf673341e7eb49f360e83e4dac54b17
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: wmf/1.26wmf8
Gerrit-Owner: Paladox <[email protected]>
Gerrit-Reviewer: Gilles <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits