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
This commit is contained in:
Gilles Dubuc 2015-05-26 12:24:31 +02:00
parent 9811129c07
commit 849cbf2173

View file

@ -401,6 +401,7 @@
]
},
"ext.wikiEditor.toolbar.styles": {
"position": "top",
"group": "ext.wikiEditor",
"styles": "ext.wikiEditor.toolbar.styles.less"
},