From: Federico Leva Date: Tue, 1 Jan 2013 13:25:50 +0000 (+0100) Subject: (bug 34211) Initial focus on Special:Block is nowhere X-Git-Tag: 1.31.0-rc.0~20798^2 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=63387e68a0c419d32ad77e9311f5c47eb2391ea8;p=lhc%2Fweb%2Fwiklou.git (bug 34211) Initial focus on Special:Block is nowhere Change-Id: I64c5b5a0e52b0207bab1715dfac3a2355ef1bf50 --- diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index aae1b3497a..af39b34c77 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -134,6 +134,7 @@ class SpecialBlock extends FormSpecialPage { 'tabindex' => '1', 'id' => 'mw-bi-target', 'size' => '45', + 'autofocus' => true, 'required' => true, 'validation-callback' => array( __CLASS__, 'validateTargetField' ), ),