| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
ve.ui.MWCommandHelpDialog = function VeUiMWCommandHelpDialog( config ) { |
| 18 |
|
| 19 |
ve.ui.MWCommandHelpDialog.super.call( this, config ); |
| 20 |
}; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
OO.inheritClass( ve.ui.MWCommandHelpDialog, ve.ui.CommandHelpDialog ); |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
ve.ui.MWCommandHelpDialog.static.commandGroups = ve.extendObject( {}, ve.ui.MWCommandHelpDialog.static.commandGroups, { |
| 29 |
insert: { |
| 30 |
title: OO.ui.deferMsg( 'visualeditor-shortcuts-insert' ), |
| 31 |
promote: [ 'ref', 'template', 'table' ], |
| 32 |
demote: [ 'horizontalRule' ] |
| 33 |
} |
| 34 |
} ); |
| 35 |
|
| 36 |
ve.ui.MWCommandHelpDialog.static.commandGroupsOrder = [ |
| 37 |
'textStyle', 'clipboard', 'history', 'dialog', |
| 38 |
'formatting', 'insert', |
| 39 |
'other' |
| 40 |
]; |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
ve.ui.windowFactory.register( ve.ui.MWCommandHelpDialog ); |