From: Jérémie Roquet Date: Wed, 6 Jun 2012 23:03:25 +0000 (+0200) Subject: Double the size of the target input field of Special:Contributions X-Git-Tag: 1.31.0-rc.0~23298^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=08cecedf52c913560f2628e7c9c1718fbf9d07f7;p=lhc%2Fweb%2Fwiklou.git Double the size of the target input field of Special:Contributions The current size (20) is not enough for IPv6 addresses. Change-Id: I80006cabea33b440fe517030a837847187772716 --- diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 62b34ad38b..49aa7e6535 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -441,7 +441,7 @@ class SpecialContributions extends SpecialPage { 'target', $this->opts['target'], 'text', - array( 'size' => '20', 'required' => '', 'class' => 'mw-input' ) + + array( 'size' => '40', 'required' => '', 'class' => 'mw-input' ) + ( $this->opts['target'] ? array() : array( 'autofocus' ) ) ) . ' '