Jdlrobson has uploaded a new change for review.

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

Change subject: Explicitly set position on various RL modules
......................................................................

Explicitly set position on various RL modules

Suppress the warnings from OutputPage::getModuleStyle

Change-Id: Idc13d2b3f3b2907ba1eb2f7d095637ccb7c4264c
---
M includes/Resources.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/85/213785/1

diff --git a/includes/Resources.php b/includes/Resources.php
index 0fcd330..f035b62 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -31,6 +31,7 @@
 **/
 $wgMinervaStyleModules = array(
        'skins.minerva.base.reset' => $wgMFResourceFileModuleBoilerplate + 
array(
+               'position' => 'top',
                'styles' => array(
                        'resources/skins.minerva.base.reset/reset.less',
                ),
@@ -183,6 +184,7 @@
        ),
 
        'skins.minerva.beta.styles' => $wgMFResourceFileModuleBoilerplate + 
array(
+               'position' => 'top',
                'styles' => array(
                        'less/pageactions.beta.less',
                        'less/footer.beta.less',
@@ -190,6 +192,7 @@
                ),
        ),
        'skins.minerva.beta.images' => $wgMFResourceFileModuleBoilerplate + 
array(
+               'position' => 'bottom',
                'class' => 'ResourceLoaderImageModule',
                'selectorWithoutVariant' => '.mw-ui-icon-{name}:before',
                'selectorWithVariant' => '.mw-ui-icon-{name}-{variant}:before',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc13d2b3f3b2907ba1eb2f7d095637ccb7c4264c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to