Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5969034
ve.ui.MWMathDialogTool.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ve.ui.MWMathDialogTool.js
View Options
/*!
* VisualEditor UserInterface MWMathDialogTool class.
*
* @copyright See AUTHORS.txt
* @license MIT
*/
/**
* MediaWiki UserInterface math tool.
*
* @class
* @extends ve.ui.FragmentWindowTool
* @constructor
* @param {OO.ui.ToolGroup} toolGroup
* @param {Object} [config] Configuration options
*/
ve
.
ui
.
MWMathDialogTool
=
function
VeUiMWMathDialogTool
(
toolGroup
,
config
)
{
ve
.
ui
.
MWMathDialogTool
.
super
.
call
(
this
,
toolGroup
,
config
);
};
OO
.
inheritClass
(
ve
.
ui
.
MWMathDialogTool
,
ve
.
ui
.
FragmentWindowTool
);
ve
.
ui
.
MWMathDialogTool
.
static
.
name
=
'math'
;
ve
.
ui
.
MWMathDialogTool
.
static
.
group
=
'object'
;
ve
.
ui
.
MWMathDialogTool
.
static
.
icon
=
'mathematics'
;
ve
.
ui
.
MWMathDialogTool
.
static
.
title
=
OO
.
ui
.
deferMsg
(
'math-visualeditor-mwmathdialog-title'
);
ve
.
ui
.
MWMathDialogTool
.
static
.
modelClasses
=
[
ve
.
dm
.
MWMathNode
];
ve
.
ui
.
MWMathDialogTool
.
static
.
commandName
=
'mathDialog'
;
ve
.
ui
.
toolFactory
.
register
(
ve
.
ui
.
MWMathDialogTool
);
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
Command
(
'mathDialog'
,
'window'
,
'open'
,
{
args
:
[
'mathDialog'
],
supportedSelections
:
[
'linear'
]
}
)
);
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
Command
(
'mathInspector'
,
'window'
,
'open'
,
{
args
:
[
'mathInspector'
],
supportedSelections
:
[
'linear'
]
}
)
);
ve
.
ui
.
sequenceRegistry
.
register
(
new
ve
.
ui
.
Sequence
(
'wikitextMath'
,
'mathDialog'
,
'<math'
,
5
)
);
ve
.
ui
.
commandHelpRegistry
.
register
(
'insert'
,
'mathDialog'
,
{
sequences
:
[
'wikitextMath'
],
label
:
OO
.
ui
.
deferMsg
(
'math-visualeditor-mwmathdialog-title'
)
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 13:28 (1 d, 17 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fe/46/aeba1b5e3e7092e2ddaaf43238f6
Default Alt Text
ve.ui.MWMathDialogTool.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment