Use HTMLTitleTextField on SpecialLintErrors

This gives autocomplete on the special page

Change-Id: Ic29cf4c16886609c6689c66aff6ebc28a20879ea
This commit is contained in:
Umherirrender 2022-02-12 21:05:23 +01:00
parent 4d32d7c32c
commit ba6b0db292

View file

@ -72,12 +72,11 @@ class SpecialLintErrors extends SpecialPage {
protected function showPageNameFilterForm() { protected function showPageNameFilterForm() {
$fields = [ $fields = [
'pagename' => [ 'pagename' => [
'type' => 'text', 'type' => 'title',
'name' => 'pagename', 'name' => 'pagename',
'label-message' => 'linter-pager-title-header', 'label-message' => 'linter-pager-title-header',
'default' => '', 'exists' => true,
'id' => 'pagename', 'required' => false,
'size' => 255,
] ]
]; ];
$form = HTMLForm::factory( 'ooui', $fields, $this->getContext() ); $form = HTMLForm::factory( 'ooui', $fields, $this->getContext() );