From 24ae4f483394302042b4f7c755facbcd2fa430d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jon=20Harald=20S=C3=B8by?= Date: Wed, 30 Jul 2008 23:41:02 +0000 Subject: [PATCH] Adding accesskey="s" to forms in the following special pages: * Special:BlockIP * Special:EmailUser * Special:ExpandTemplates * Special:Export * Special:Import * Special:ParserDiffTest * Special:UserRights --- includes/specials/SpecialBlockip.php | 2 +- includes/specials/SpecialEmailuser.php | 2 +- includes/specials/SpecialExport.php | 2 +- includes/specials/SpecialImport.php | 2 +- includes/specials/SpecialUserrights.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index 52829d920d..56cf9c6918 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -246,7 +246,7 @@ class IPBlockForm {   " . Xml::submitButton( wfMsg( 'ipbsubmit' ), - array( 'name' => 'wpBlock', 'tabindex' => '12' ) ) . " + array( 'name' => 'wpBlock', 'tabindex' => '12', 'accesskey' => 's' ) ) . " " . Xml::closeElement( 'table' ) . diff --git a/includes/specials/SpecialEmailuser.php b/includes/specials/SpecialEmailuser.php index 3874c6a1d6..d557c847d2 100644 --- a/includes/specials/SpecialEmailuser.php +++ b/includes/specials/SpecialEmailuser.php @@ -130,7 +130,7 @@ class EmailUserForm { " . wfCheckLabel( $emc, 'wpCCMe', 'wpCCMe', $wgUser->getBoolOption( 'ccmeonemails' ) ) . "
- + \n" ); diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index 38bfc83e83..d500785ecd 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -278,7 +278,7 @@ function wfSpecialExport( $page = '' ) { //$form .= Xml::checkLabel( wfMsg( 'export-images' ), 'images', 'wpExportImages', false ) . '
'; $form .= Xml::checkLabel( wfMsg( 'export-download' ), 'wpDownload', 'wpDownload', true ) . '
'; - $form .= Xml::submitButton( wfMsg( 'export-submit' ) ); + $form .= Xml::submitButton( wfMsg( 'export-submit' ), array( 'accesskey' => 's' ) ); $form .= Xml::closeElement( 'form' ); $wgOut->addHtml( $form ); } diff --git a/includes/specials/SpecialImport.php b/includes/specials/SpecialImport.php index 4c37f1f9ea..83d4d40c5d 100644 --- a/includes/specials/SpecialImport.php +++ b/includes/specials/SpecialImport.php @@ -159,7 +159,7 @@ function wfSpecialImport( $page = '' ) { " . - Xml::submitButton( wfMsg( 'import-interwiki-submit' ) ) . + Xml::submitButton( wfMsg( 'import-interwiki-submit' ), array( 'accesskey' = 's' ) ) . " " . Xml::closeElement( 'table' ). diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index fd3c690b89..4ce3e06a71 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -384,7 +384,7 @@ class UserrightsPage extends SpecialPage { " . - Xml::submitButton( wfMsg( 'saveusergroups' ), array( 'name' => 'saveusergroups' ) ) . + Xml::submitButton( wfMsg( 'saveusergroups' ), array( 'name' => 'saveusergroups', 'accesskey' => 's' ) ) . " " . Xml::closeElement( 'table' ) . "\n" . -- 2.20.1