mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Merge "Revert "Revert "Add wbEntitySelector widget to edit qid in VE"""
This commit is contained in:
commit
cda7562b0e
|
@ -205,7 +205,8 @@
|
||||||
"ve-math/ve.ui.MWMathInspector.js",
|
"ve-math/ve.ui.MWMathInspector.js",
|
||||||
"ve-math/ve.ui.MWMathContextItem.js",
|
"ve-math/ve.ui.MWMathContextItem.js",
|
||||||
"ve-math/ve.ui.MWMathDialog.js",
|
"ve-math/ve.ui.MWMathDialog.js",
|
||||||
"ve-math/ve.ui.MWMathDialogTool.js"
|
"ve-math/ve.ui.MWMathDialogTool.js",
|
||||||
|
"mw.widgets.MathWbEntitySelector.js"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"ve-math/ve.ui.MWLatexDialog.css",
|
"ve-math/ve.ui.MWLatexDialog.css",
|
||||||
|
@ -217,6 +218,7 @@
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"ext.visualEditor.mwcore",
|
"ext.visualEditor.mwcore",
|
||||||
"ext.math.styles",
|
"ext.math.styles",
|
||||||
|
"mw.config.values.wbRepo",
|
||||||
"oojs-ui.styles.icons-editing-advanced"
|
"oojs-ui.styles.icons-editing-advanced"
|
||||||
],
|
],
|
||||||
"messages": [
|
"messages": [
|
||||||
|
|
|
@ -113,7 +113,7 @@ ve.ui.MWLatexDialog.prototype.initialize = function () {
|
||||||
} );
|
} );
|
||||||
|
|
||||||
this.idInput = new OO.ui.TextInputWidget();
|
this.idInput = new OO.ui.TextInputWidget();
|
||||||
this.qidInput = new OO.ui.TextInputWidget();
|
this.qidInput = new mw.widgets.MathWbEntitySelector();
|
||||||
|
|
||||||
var inputField = new OO.ui.FieldLayout( this.input, {
|
var inputField = new OO.ui.FieldLayout( this.input, {
|
||||||
align: 'top',
|
align: 'top',
|
||||||
|
|
|
@ -59,7 +59,7 @@ ve.ui.MWLatexInspector.prototype.initialize = function () {
|
||||||
} );
|
} );
|
||||||
|
|
||||||
this.idInput = new OO.ui.TextInputWidget();
|
this.idInput = new OO.ui.TextInputWidget();
|
||||||
this.qidInput = new OO.ui.TextInputWidget();
|
this.qidInput = new mw.widgets.MathWbEntitySelector();
|
||||||
|
|
||||||
var inputField = new OO.ui.FieldLayout( this.input, {
|
var inputField = new OO.ui.FieldLayout( this.input, {
|
||||||
align: 'top',
|
align: 'top',
|
||||||
|
|
Loading…
Reference in a new issue