Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7403976
ve.ui.MWGalleryDialogTool.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.MWGalleryDialogTool.js
View Options
/*!
* VisualEditor MediaWiki UserInterface gallery tool class.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* MediaWiki UserInterface gallery tool.
*
* @class
* @extends ve.ui.FragmentWindowTool
* @constructor
* @param {OO.ui.ToolGroup} toolGroup
* @param {Object} [config] Configuration options
*/
ve
.
ui
.
MWGalleryDialogTool
=
function
VeUiMWGalleryDialogTool
()
{
ve
.
ui
.
MWGalleryDialogTool
.
super
.
apply
(
this
,
arguments
);
};
OO
.
inheritClass
(
ve
.
ui
.
MWGalleryDialogTool
,
ve
.
ui
.
FragmentWindowTool
);
ve
.
ui
.
MWGalleryDialogTool
.
static
.
name
=
'gallery'
;
ve
.
ui
.
MWGalleryDialogTool
.
static
.
group
=
'object'
;
ve
.
ui
.
MWGalleryDialogTool
.
static
.
icon
=
'imageGallery'
;
ve
.
ui
.
MWGalleryDialogTool
.
static
.
title
=
OO
.
ui
.
deferMsg
(
'visualeditor-mwgallerydialog-title'
);
ve
.
ui
.
MWGalleryDialogTool
.
static
.
modelClasses
=
[
ve
.
dm
.
MWGalleryNode
];
ve
.
ui
.
MWGalleryDialogTool
.
static
.
commandName
=
'gallery'
;
ve
.
ui
.
toolFactory
.
register
(
ve
.
ui
.
MWGalleryDialogTool
);
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
Command
(
'gallery'
,
'window'
,
'open'
,
{
args
:
[
'gallery'
],
supportedSelections
:
[
'linear'
]
}
)
);
ve
.
ui
.
sequenceRegistry
.
register
(
new
ve
.
ui
.
Sequence
(
'wikitextGallery'
,
'gallery'
,
'<gallery'
,
8
)
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 18:54 (1 d, 13 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ca/11/58915323fb4e7a32afff10a80079
Default Alt Text
ve.ui.MWGalleryDialogTool.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment