Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6000908
ve.ui.MWChemDialogTool.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.MWChemDialogTool.js
View Options
/*!
* VisualEditor UserInterface MWChemDialogTool class.
*
* @copyright See AUTHORS.txt
* @license MIT
*/
/**
* MediaWiki UserInterface chem tool.
*
* @class
* @extends ve.ui.FragmentWindowTool
* @constructor
* @param {OO.ui.ToolGroup} toolGroup
* @param {Object} [config] Configuration options
*/
ve
.
ui
.
MWChemDialogTool
=
function
VeUiMWChemDialogTool
(
toolGroup
,
config
)
{
ve
.
ui
.
MWChemDialogTool
.
super
.
call
(
this
,
toolGroup
,
config
);
};
OO
.
inheritClass
(
ve
.
ui
.
MWChemDialogTool
,
ve
.
ui
.
FragmentWindowTool
);
ve
.
ui
.
MWChemDialogTool
.
static
.
name
=
'chem'
;
ve
.
ui
.
MWChemDialogTool
.
static
.
group
=
'object'
;
ve
.
ui
.
MWChemDialogTool
.
static
.
icon
=
'labFlask'
;
ve
.
ui
.
MWChemDialogTool
.
static
.
title
=
OO
.
ui
.
deferMsg
(
'math-visualeditor-mwchemdialog-title'
);
ve
.
ui
.
MWChemDialogTool
.
static
.
modelClasses
=
[
ve
.
dm
.
MWChemNode
];
ve
.
ui
.
MWChemDialogTool
.
static
.
commandName
=
'chemDialog'
;
ve
.
ui
.
toolFactory
.
register
(
ve
.
ui
.
MWChemDialogTool
);
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
Command
(
'chemDialog'
,
'window'
,
'open'
,
{
args
:
[
'chemDialog'
],
supportedSelections
:
[
'linear'
]
}
)
);
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
Command
(
'chemInspector'
,
'window'
,
'open'
,
{
args
:
[
'chemInspector'
],
supportedSelections
:
[
'linear'
]
}
)
);
ve
.
ui
.
sequenceRegistry
.
register
(
new
ve
.
ui
.
Sequence
(
'wikitextChem'
,
'chemDialog'
,
'<chem'
,
5
)
);
ve
.
ui
.
commandHelpRegistry
.
register
(
'insert'
,
'chemDialog'
,
{
sequences
:
[
'wikitextChem'
],
label
:
OO
.
ui
.
deferMsg
(
'math-visualeditor-mwchemdialog-title'
)
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 4 2026, 06:11 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e5/23/4b35f444f1eade9cdd302e2d1a25
Default Alt Text
ve.ui.MWChemDialogTool.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment