Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4102842
ve.ui.MWCommandRegistry.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
917 B
Referenced Files
None
Subscribers
None
ve.ui.MWCommandRegistry.js
View Options
/*!
* VisualEditor MediaWiki CommandRegistry registrations.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/* MW-specific over-rides of core command registrations */
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
Command
(
'insertTable'
,
'table'
,
'create'
,
{
args
:
[
{
caption
:
true
,
header
:
true
,
rows
:
3
,
cols
:
4
,
type
:
'mwTable'
,
attributes
:
{
wikitable
:
true
}
}
],
supportedSelections
:
[
'linear'
]
}
)
);
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
Command
(
'mwNonBreakingSpace'
,
'content'
,
'insert'
,
{
args
:
[
[
{
type
:
'mwEntity'
,
attributes
:
{
character
:
'\u00a0'
}
},
{
type
:
'/mwEntity'
}
],
// annotate
true
,
// collapseToEnd
true
],
supportedSelections
:
[
'linear'
]
}
)
);
ve
.
ui
.
triggerRegistry
.
register
(
'mwNonBreakingSpace'
,
{
mac
:
[],
pc
:
new
ve
.
ui
.
Trigger
(
'ctrl+shift+space'
)
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 17:37 (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d2/9c/986a4c5ee5021e168aa7c9d21330
Default Alt Text
ve.ui.MWCommandRegistry.js (917 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment