dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2daac5f
)
Use skinStyles for mediawiki.ui.icon
author
Matthew Flaschen
<mflaschen@wikimedia.org>
Wed, 1 Oct 2014 06:03:08 +0000
(
02:03
-0400)
committer
Matthew 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
patch
|
blob
|
history
diff --git
a/resources/Resources.php
b/resources/Resources.php
index
07db06f
..
cf40227
100644
(file)
--- a/
resources/Resources.php
+++ b/
resources/Resources.php
@@
-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' ),