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() {
$fields = [
'pagename' => [
'type' => 'text',
'type' => 'title',
'name' => 'pagename',
'label-message' => 'linter-pager-title-header',
'default' => '',
'id' => 'pagename',
'size' => 255,
'exists' => true,
'required' => false,
]
];
$form = HTMLForm::factory( 'ooui', $fields, $this->getContext() );