Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7403601
ve.dm.MWGalleryImageCaptionNode.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.dm.MWGalleryImageCaptionNode.js
View Options
/*!
* VisualEditor DataModel MWGalleryImageCaptionNode class.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* DataModel gallery image caption node.
*
* @class
* @extends ve.dm.BranchNode
*
* @constructor
* @param {Object} [element] Reference to element in linear model
* @param {ve.dm.Node[]} [children]
*/
ve
.
dm
.
MWGalleryImageCaptionNode
=
function
VeDmMWGalleryImageCaptionNode
()
{
// Parent constructor
ve
.
dm
.
MWGalleryImageCaptionNode
.
super
.
apply
(
this
,
arguments
);
};
OO
.
inheritClass
(
ve
.
dm
.
MWGalleryImageCaptionNode
,
ve
.
dm
.
BranchNode
);
ve
.
dm
.
MWGalleryImageCaptionNode
.
static
.
name
=
'mwGalleryImageCaption'
;
ve
.
dm
.
MWGalleryImageCaptionNode
.
static
.
matchTagNames
=
[];
ve
.
dm
.
MWGalleryImageCaptionNode
.
static
.
parentNodeTypes
=
[
'mwGalleryImage'
];
ve
.
dm
.
MWGalleryImageCaptionNode
.
static
.
toDomElements
=
function
(
dataElement
,
doc
)
{
const
div
=
doc
.
createElement
(
'div'
);
div
.
classList
.
add
(
'gallerytext'
);
return
[
div
];
};
/* Registration */
ve
.
dm
.
modelRegistry
.
register
(
ve
.
dm
.
MWGalleryImageCaptionNode
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 18:43 (21 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
03/59/f1ed69b34f541077aa0d8a43dc65
Default Alt Text
ve.dm.MWGalleryImageCaptionNode.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment