Bug: T192694
Change-Id: If385c16c9099475d50dcb775484f710450360ed2
$out = $this->getOutput();
$out->setPageTitle( $this->msg( 'unblockip' ) );
- $out->addModules( [ 'mediawiki.userSuggest' ] );
$form = HTMLForm::factory( 'ooui', $this->getFields(), $this->getContext() );
$form->setWrapperLegendMsg( 'unblockip' );
protected function getFields() {
$fields = [
'Target' => [
- 'type' => 'text',
+ 'type' => 'user',
'label-message' => 'ipaddressorusername',
'autofocus' => true,
'size' => '45',
'required' => true,
- 'cssclass' => 'mw-autocomplete-user', // used by mediawiki.userSuggest
],
'Name' => [
'type' => 'info',