mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-12-18 02:40:38 +00:00
Merge 'ext.templateDataGenerator.ui.images' into 'ext.templateData.images'
Only ever used together as dependencies for module 'ext.templateDataGenerator.editTemplatePage'. In the UI, they provide icons for the same dialog. The 'ext.templateData.images' module is also used in one other place, via addModuleStyles() on NS_TEMPLATE pages that use <templatedata>. The 'template-format-block' and 'template-format-inline' icons are used by the Parser output HTML for the documentation block. Having one unused icon there, preloaded for editing templatedata, seems acceptable given it's so tiny and basically was already being paid for on page views with the mere existence of the module taking up about as much space as the icon itself. Change-Id: If839100feca51d67bba7151878dfddd1bcbc372b
This commit is contained in:
parent
8f35430bd7
commit
b87d37f482
|
@ -90,8 +90,7 @@
|
|||
"ext.templateData.images",
|
||||
"ext.templateDataGenerator.data",
|
||||
"jquery.uls.data",
|
||||
"jquery.textSelection",
|
||||
"ext.templateDataGenerator.ui.images"
|
||||
"jquery.textSelection"
|
||||
],
|
||||
"messages": [
|
||||
"comma-separator",
|
||||
|
@ -187,20 +186,7 @@
|
|||
},
|
||||
"template-format-inline": {
|
||||
"file": "modules/images/inline.svg"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ext.templateDataGenerator.ui.images": {
|
||||
"class": "ResourceLoaderImageModule",
|
||||
"selectorWithVariant": ".oo-ui-icon-{name}.oo-ui-image-invert",
|
||||
"selectorWithoutVariant": ".oo-ui-icon-{name}",
|
||||
"variants": {
|
||||
"invert": {
|
||||
"color": "#FFFFFF",
|
||||
"global": true
|
||||
}
|
||||
},
|
||||
"images": {
|
||||
},
|
||||
"parameter-set": {
|
||||
"file": {
|
||||
"ltr": "modules/images/parameter-set-ltr.svg",
|
||||
|
|
Loading…
Reference in a new issue