Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4099539
ve.ui.MWMathContextItem.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.MWMathContextItem.js
View Options
/*!
* VisualEditor MWMathContextItem class.
*
* @copyright See AUTHORS.txt
*/
/**
* Context item for a math node.
*
* @class
* @extends ve.ui.MWLatexContextItem
*
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} config Configuration options
*/
ve
.
ui
.
MWMathContextItem
=
function
VeUiMWMathContextItem
()
{
// Parent constructor
ve
.
ui
.
MWMathContextItem
.
super
.
apply
(
this
,
arguments
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ui
.
MWMathContextItem
,
ve
.
ui
.
MWLatexContextItem
);
/* Static Properties */
ve
.
ui
.
MWMathContextItem
.
static
.
name
=
'math'
;
ve
.
ui
.
MWMathContextItem
.
static
.
icon
=
'mathematics'
;
ve
.
ui
.
MWMathContextItem
.
static
.
label
=
OO
.
ui
.
deferMsg
(
'math-visualeditor-mwmathdialog-title'
);
ve
.
ui
.
MWMathContextItem
.
static
.
modelClasses
=
[
ve
.
dm
.
MWMathNode
];
ve
.
ui
.
MWMathContextItem
.
static
.
embeddable
=
false
;
ve
.
ui
.
MWMathContextItem
.
static
.
commandName
=
'mathDialog'
;
ve
.
ui
.
MWMathContextItem
.
static
.
inlineEditCommand
=
'mathInspector'
;
/* Registration */
ve
.
ui
.
contextItemFactory
.
register
(
ve
.
ui
.
MWMathContextItem
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 15:56 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ef/19/f75acbbc4245b6c0814718c7a2a6
Default Alt Text
ve.ui.MWMathContextItem.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment