mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
*Dialog: Flag back/cancel actions
Change-Id: If3772863078a020eba9b9b43f58044a5aacb7296
This commit is contained in:
parent
165c4c8ef0
commit
f579ce52a2
|
@ -73,18 +73,18 @@ ve.ui.MWMediaDialog.static.actions = [
|
|||
{
|
||||
action: 'cancelchoose',
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-media-goback' ),
|
||||
flags: 'safe',
|
||||
flags: [ 'safe', 'back' ],
|
||||
modes: [ 'info' ]
|
||||
},
|
||||
{
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-action-cancel' ),
|
||||
flags: 'safe',
|
||||
flags: [ 'safe', 'back' ],
|
||||
modes: [ 'edit', 'insert', 'select' ]
|
||||
},
|
||||
{
|
||||
action: 'back',
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-media-goback' ),
|
||||
flags: 'safe',
|
||||
flags: [ 'safe', 'back' ],
|
||||
modes: [ 'change' ]
|
||||
}
|
||||
];
|
||||
|
|
|
@ -42,7 +42,7 @@ ve.ui.MWMetaDialog.static.actions = [
|
|||
},
|
||||
{
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-action-cancel' ),
|
||||
flags: 'safe'
|
||||
flags: [ 'safe', 'back' ]
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ ve.ui.MWReferenceDialog.static.actions = [
|
|||
},
|
||||
{
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-action-cancel' ),
|
||||
flags: 'safe',
|
||||
flags: [ 'safe', 'back' ],
|
||||
modes: [ 'insert', 'edit', 'insert-select' ]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -45,7 +45,7 @@ ve.ui.MWReferencesListDialog.static.actions = [
|
|||
},
|
||||
{
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-action-cancel' ),
|
||||
flags: 'safe',
|
||||
flags: [ 'safe', 'back' ],
|
||||
modes: 'edit'
|
||||
}
|
||||
];
|
||||
|
|
|
@ -42,7 +42,7 @@ ve.ui.MWRequiredParamBlankConfirmDialog.static.actions = [
|
|||
{
|
||||
action: 'cancel',
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-transclusion-required-parameter-dialog-cancel' ),
|
||||
flags: 'safe'
|
||||
flags: [ 'safe', 'back' ]
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ ve.ui.MWSaveDialog.static.actions = [
|
|||
},
|
||||
{
|
||||
label: OO.ui.deferMsg( 'visualeditor-savedialog-label-resume-editing' ),
|
||||
flags: 'safe',
|
||||
flags: [ 'safe', 'back' ],
|
||||
modes: [ 'save', 'conflict' ]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -57,7 +57,7 @@ ve.ui.MWTemplateDialog.static.actions = [
|
|||
},
|
||||
{
|
||||
label: OO.ui.deferMsg( 'visualeditor-dialog-action-cancel' ),
|
||||
flags: 'safe',
|
||||
flags: [ 'safe', 'back' ],
|
||||
modes: [ 'insert', 'edit' ]
|
||||
}
|
||||
];
|
||||
|
|
|
@ -43,7 +43,7 @@ ve.ui.MWWikitextSwitchConfirmDialog.static.actions = [
|
|||
{
|
||||
action: 'cancel',
|
||||
label: OO.ui.deferMsg( 'visualeditor-mweditmodesource-warning-cancel' ),
|
||||
flags: 'safe'
|
||||
flags: [ 'safe', 'back' ]
|
||||
},
|
||||
{
|
||||
action: 'switch',
|
||||
|
|
Loading…
Reference in a new issue