This is redundant and creates more modules than necessary.
The use case of not wanting to load "mediawiki.skinning.interface"
in a custom skin is invalid. For this exact purpose we already created
the ResourceLoaderSkinModule class which is generic and re-usable.
Skins can add that class name to their stylesheet file module to
append the logo styles. This way involves no extra modules. Not in
core, and not in any skin.
This reverts commit
43346e1527dc6f30e33c5acd4f479acc0eab7d0a.
Change-Id: I2b0a1d5ed72f2d5338ad26af6e04227bec45dcc1
// 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',
'styles' => array(
'resources/src/mediawiki.skinning/elements.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(