dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "API: Add Access-Control-Allow-Headers in CORS preflight response"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUnblock.php
diff --git
a/includes/specials/SpecialUnblock.php
b/includes/specials/SpecialUnblock.php
index
244b889
..
192dc96
100644
(file)
--- a/
includes/specials/SpecialUnblock.php
+++ b/
includes/specials/SpecialUnblock.php
@@
-53,7
+53,7
@@
class SpecialUnblock extends SpecialPage {
$out = $this->getOutput();
$out->setPageTitle( $this->msg( 'unblockip' ) );
$out = $this->getOutput();
$out->setPageTitle( $this->msg( 'unblockip' ) );
- $out->addModules(
'mediawiki.special'
);
+ $out->addModules(
array( 'mediawiki.special', 'mediawiki.userSuggest' )
);
$form = new HTMLForm( $this->getFields(), $this->getContext() );
$form->setWrapperLegendMsg( 'unblockip' );
$form = new HTMLForm( $this->getFields(), $this->getContext() );
$form->setWrapperLegendMsg( 'unblockip' );
@@
-88,6
+88,7
@@
class SpecialUnblock extends SpecialPage {
'autofocus' => true,
'size' => '45',
'required' => true,
'autofocus' => true,
'size' => '45',
'required' => true,
+ 'cssclass' => 'mw-autocomplete-user', // used by mediawiki.userSuggest
),
'Name' => array(
'type' => 'info',
),
'Name' => array(
'type' => 'info',