mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-11 16:58:38 +00:00
Load Math ResourceLoader modules on mobile
The default for a module is desktop and all of these modules at a glance look like they should be loaded on mobile as well. Bug: T324723 Change-Id: I606b75d6524692e4183cd71a991140976d04d23f
This commit is contained in:
parent
288950de43
commit
571e624c4e
|
@ -205,13 +205,21 @@
|
|||
]
|
||||
},
|
||||
"ext.math.scripts": {
|
||||
"scripts": "ext.math.js"
|
||||
"scripts": "ext.math.js",
|
||||
"targets": [
|
||||
"desktop",
|
||||
"mobile"
|
||||
]
|
||||
},
|
||||
"ext.math.popup": {
|
||||
"es6": true,
|
||||
"packageFiles": "ext.math.popup.js",
|
||||
"dependencies": [
|
||||
"mediawiki.api"
|
||||
],
|
||||
"targets": [
|
||||
"desktop",
|
||||
"mobile"
|
||||
]
|
||||
},
|
||||
"mw.widgets.MathWbEntitySelector": {
|
||||
|
@ -223,6 +231,10 @@
|
|||
"mw.config.values.wbRepo",
|
||||
"mediawiki.ForeignApi",
|
||||
"mediawiki.widgets"
|
||||
],
|
||||
"targets": [
|
||||
"desktop",
|
||||
"mobile"
|
||||
]
|
||||
},
|
||||
"ext.math.visualEditor": {
|
||||
|
@ -322,6 +334,10 @@
|
|||
],
|
||||
"styles": [
|
||||
"ve-math/ve.ui.MWMathSymbols.css"
|
||||
],
|
||||
"targets": [
|
||||
"desktop",
|
||||
"mobile"
|
||||
]
|
||||
},
|
||||
"ext.math.visualEditor.chemSymbols": {
|
||||
|
@ -331,6 +347,10 @@
|
|||
],
|
||||
"styles": [
|
||||
"ve-math/ve.ui.MWChemSymbols.css"
|
||||
],
|
||||
"targets": [
|
||||
"desktop",
|
||||
"mobile"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue