Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7405486
ve.dm.MWPreformattedNode.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
959 B
Referenced Files
None
Subscribers
None
ve.dm.MWPreformattedNode.js
View Options
/*!
* VisualEditor DataModel MWPreformattedNode class.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* DataModel MediaWiki preformatted node.
*
* @class
* @extends ve.dm.PreformattedNode
*
* @constructor
* @param {Object} [element] Reference to element in linear model
* @param {ve.dm.Node[]} [children]
*/
ve
.
dm
.
MWPreformattedNode
=
function
VeDmMWPreformattedNode
()
{
// Parent constructor
ve
.
dm
.
MWPreformattedNode
.
super
.
apply
(
this
,
arguments
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
dm
.
MWPreformattedNode
,
ve
.
dm
.
PreformattedNode
);
/* Static Properties */
ve
.
dm
.
MWPreformattedNode
.
static
.
name
=
'mwPreformatted'
;
// Indent-pre in wikitext only works in some contexts, it's impossible e.g. in list items
ve
.
dm
.
MWPreformattedNode
.
static
.
suggestedParentNodeTypes
=
[
'document'
,
'tableCell'
,
'div'
,
'section'
];
/* Registration */
ve
.
dm
.
modelRegistry
.
register
(
ve
.
dm
.
MWPreformattedNode
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 19:54 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
41/7d/5cc873b163e625a6b3fc7908468c
Default Alt Text
ve.dm.MWPreformattedNode.js (959 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment