mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-28 01:30:05 +00:00
Use HTMLTitleTextField on SpecialLintErrors
This gives autocomplete on the special page Change-Id: Ic29cf4c16886609c6689c66aff6ebc28a20879ea
This commit is contained in:
parent
4d32d7c32c
commit
ba6b0db292
|
@ -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() );
|
||||||
|
|
Loading…
Reference in a new issue