* including more than one of them into your skin as this will result in duplicate CSS.
*/
'mediawiki.skinning.elements' => array(
+ 'position' => 'top',
'styles' => array(
'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
),
),
'mediawiki.skinning.content' => array(
+ 'position' => 'top',
'styles' => array(
'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
),
),
+ // Used in the web installer. Test it after modifying this definition!
'mediawiki.skinning.interface' => array(
'position' => 'top',
+ // Display wiki logo on .mw-wiki-logo elements.
'class' => 'ResourceLoaderSkinModule',
- // Used in the web installer. Test it after modifying this definition!
'styles' => array(
'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
),
'mediawiki.skinning.content.externallinks' => array(
- 'position' => 'top',
+ 'position' => 'bottom',
'styles' => array(
'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
),
),
+ // Display wiki logo on .mw-wiki-logo elements.
+ // This is also part of 'mediawiki.skinning.interface' module; the skin shouldn't load them both.
+ 'mediawiki.skinning.logo' => array(
+ 'position' => 'top',
+ 'class' => 'ResourceLoaderSkinModule',
+ ),
+
/* jQuery */
'jquery' => array(
),
'mediawiki.htmlform.ooui.styles' => array(
'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
+ 'position' => 'top',
),
'mediawiki.icon' => array(
'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
/* MediaWiki Installer */
+ // Used in the web installer. Test it after modifying this definition!
'mediawiki.legacy.config' => array(
- // Used in the web installer. Test it after modifying this definition!
// These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
'scripts' => 'mw-config/config.js',
'styles' => 'mw-config/config.css',
'dependencies' => 'jquery.byteLimit',
'messages' => array( 'protect-unchain-permissions' )
),
+ // Used in the web installer. Test it after modifying this definition!
'mediawiki.legacy.shared' => array(
- // Used in the web installer. Test it after modifying this definition!
'position' => 'top',
'styles' => array(
'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )