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:
Ed Sanders 2013-05-10 22:59:05 +01:00 committed by Catrope
parent 9d99cdbb67
commit 375a7fceff
2 changed files with 3 additions and 3 deletions

View file

@ -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',

View file

@ -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
);
}