mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Access keys for edit and edit source
Set up 'v' for edit, and 'e' for edit source as access keys. Bug: 48107 Change-Id: I598177bc75ed84dea35952a3b2b1b2111aac89b2
This commit is contained in:
parent
9d99cdbb67
commit
375a7fceff
|
@ -5,8 +5,8 @@ $messages = array();
|
|||
* @author Trevor Parscal
|
||||
*/
|
||||
$messages['en'] = array(
|
||||
'accesskey-ca-editsource' => '',
|
||||
'accesskey-ca-ve-edit' => '',
|
||||
'accesskey-ca-editsource' => 'e',
|
||||
'accesskey-ca-ve-edit' => 'v',
|
||||
'tag-visualeditor' => '[[Special:Tags|Tag]]: [[{{MediaWiki:Visualeditor-descriptionpagelink}}|VisualEditor]]',
|
||||
'tag-visualeditor-description' => 'Edit made using the [[{{MediaWiki:Visualeditor-descriptionpagelink}}|VisualEditor]]',
|
||||
'tooltip-ca-editsource' => 'Edit the source code of this page',
|
||||
|
|
|
@ -821,7 +821,7 @@ ve.init.mw.ViewPageTarget.prototype.setupSkinTabs = function () {
|
|||
$caEditLink.text(),
|
||||
$caEdit.attr( 'id' ),
|
||||
$caEditLink.attr( 'title' ),
|
||||
$caEditLink.attr( 'accesskey' ),
|
||||
ve.msg( 'accesskey-ca-ve-edit' ),
|
||||
reverseTabOrder ? caVeEditSource.nextSibling : caVeEditSource
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue