Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7406424
ve.dm.MWHeadingNode.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
899 B
Referenced Files
None
Subscribers
None
ve.dm.MWHeadingNode.js
View Options
/*!
* VisualEditor DataModel MWHeadingNode class.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* DataModel MediaWiki heading node.
*
* @class
* @extends ve.dm.HeadingNode
*
* @constructor
* @param {Object} [element] Reference to element in linear model
* @param {ve.dm.Node[]} [children]
*/
ve
.
dm
.
MWHeadingNode
=
function
VeDmMWHeadingNode
()
{
// Parent constructor
ve
.
dm
.
MWHeadingNode
.
super
.
apply
(
this
,
arguments
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
dm
.
MWHeadingNode
,
ve
.
dm
.
HeadingNode
);
/* Static Properties */
ve
.
dm
.
MWHeadingNode
.
static
.
name
=
'mwHeading'
;
// Headings in wikitext only work in some contexts, they're impossible e.g. in list items
ve
.
dm
.
MWHeadingNode
.
static
.
suggestedParentNodeTypes
=
[
'document'
,
'tableCell'
,
'div'
,
'section'
];
/* Registration */
ve
.
dm
.
modelRegistry
.
register
(
ve
.
dm
.
MWHeadingNode
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 20:24 (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
93/52/6bfaae9471184330f4240901eaad
Default Alt Text
ve.dm.MWHeadingNode.js (899 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment