From 3ef383c591413564bad479798a90b58d484424be Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 23 Dec 2006 07:18:51 +0000 Subject: [PATCH] * Set tabindex on fields in deletion form so you don't have to tab through the links in the sitenotice --- RELEASE-NOTES | 2 ++ includes/Article.php | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b85d503f8d..1d3c78b666 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -387,6 +387,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN A more thorough blacklist for forbidden and translatable characters would be wise, though, as might a cleaner method for the lists in the first place. * Fix regression in email password resets on read-restricted sites +* Set tabindex on fields in deletion form so you don't have to tab through + the links in the sitenotice == Languages updated == diff --git a/includes/Article.php b/includes/Article.php index bb698f7d1e..e17aad78b2 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1899,7 +1899,7 @@ class Article { $confirm = htmlspecialchars( wfMsg( 'deletepage' ) ); $delcom = htmlspecialchars( wfMsg( 'deletecomment' ) ); $token = htmlspecialchars( $wgUser->editToken() ); - $watch = Xml::checkLabel( wfMsg( 'watchthis' ), 'wpWatch', 'wpWatch', $wgUser->getBoolOption( 'watchdeletion' ) || $this->mTitle->userIsWatching() ); + $watch = Xml::checkLabel( wfMsg( 'watchthis' ), 'wpWatch', 'wpWatch', $wgUser->getBoolOption( 'watchdeletion' ) || $this->mTitle->userIsWatching(), array( 'tabindex' => '2' ) ); $wgOut->addHTML( "
@@ -1909,7 +1909,7 @@ class Article { - + @@ -1919,7 +1919,7 @@ class Article {   - + -- 2.20.1