mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-13 17:48:17 +00:00
Merge "Don't unnecessarily load huge icons for Wikimedia logos"
This commit is contained in:
commit
33a980b150
|
@ -1894,7 +1894,7 @@
|
|||
"ext.visualEditor.mwimage.core",
|
||||
"mediawiki.widgets.MediaSearch",
|
||||
"oojs-ui.styles.icons-media",
|
||||
"oojs-ui.styles.icons-wikimedia",
|
||||
"ext.visualEditor.icons-licenses",
|
||||
"moment"
|
||||
],
|
||||
"messages": [
|
||||
|
@ -2684,6 +2684,17 @@
|
|||
"mobile"
|
||||
]
|
||||
},
|
||||
"ext.visualEditor.icons-licenses": {
|
||||
"group": "visualEditorA",
|
||||
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
||||
"icons": [
|
||||
"logoCC"
|
||||
],
|
||||
"targets": [
|
||||
"desktop",
|
||||
"mobile"
|
||||
]
|
||||
},
|
||||
"ext.visualEditor.moduleIcons": {
|
||||
"group": "visualEditorA",
|
||||
"class": "ResourceLoaderOOUIImageModule",
|
||||
|
|
Loading…
Reference in a new issue