mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-13 17:56:59 +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.MWMathContextItem.js",
|
||||
"ve-math/ve.ui.MWMathDialog.js",
|
||||
"ve-math/ve.ui.MWMathDialogTool.js"
|
||||
"ve-math/ve.ui.MWMathDialogTool.js",
|
||||
"mw.widgets.MathWbEntitySelector.js"
|
||||
],
|
||||
"styles": [
|
||||
"ve-math/ve.ui.MWLatexDialog.css",
|
||||
|
@ -217,6 +218,7 @@
|
|||
"dependencies": [
|
||||
"ext.visualEditor.mwcore",
|
||||
"ext.math.styles",
|
||||
"mw.config.values.wbRepo",
|
||||
"oojs-ui.styles.icons-editing-advanced"
|
||||
],
|
||||
"messages": [
|
||||
|
|
|
@ -113,7 +113,7 @@ ve.ui.MWLatexDialog.prototype.initialize = function () {
|
|||
} );
|
||||
|
||||
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, {
|
||||
align: 'top',
|
||||
|
|
|
@ -59,7 +59,7 @@ ve.ui.MWLatexInspector.prototype.initialize = function () {
|
|||
} );
|
||||
|
||||
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, {
|
||||
align: 'top',
|
||||
|
|
Loading…
Reference in a new issue