Use skinStyles for mediawiki.ui.icon
authorMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 1 Oct 2014 06:03:08 +0000 (02:03 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 1 Oct 2014 06:03:08 +0000 (02:03 -0400)
This allows skin customization.  This was missed since it was under
code review when the others went in.

Change-Id: I2c640fda4d2c6e40be0add52f6fc948a8e07c010

resources/Resources.php

index 07db06f..cf40227 100644 (file)
@@ -1521,8 +1521,10 @@ return array(
                'targets' => array( 'desktop', 'mobile' ),
        ),
        'mediawiki.ui.icon' => array(
-               'styles' => array(
-                       'resources/src/mediawiki.ui/components/icons.less',
+               'skinStyles' => array(
+                       'default' => array(
+                               'resources/src/mediawiki.ui/components/icons.less',
+                       ),
                ),
                'position' => 'top',
                'targets' => array( 'desktop', 'mobile' ),