mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 15:36:52 +00:00
Suppress hidden categories from subpage prefix searches
ie. When you type "Special:LintErrors/" in the search box. Bug: T334527 Change-Id: I0bb478086d22b65ce8c5ad48db7f522ac974d95d
This commit is contained in:
parent
22c1bfb865
commit
68dd2651bf
|
@ -384,10 +384,7 @@ class SpecialLintErrors extends SpecialPage {
|
|||
* @return string[]
|
||||
*/
|
||||
protected function getSubpagesForPrefixSearch() {
|
||||
return array_merge(
|
||||
$this->categoryManager->getVisibleCategories(),
|
||||
$this->categoryManager->getInvisibleCategories()
|
||||
);
|
||||
return $this->categoryManager->getVisibleCategories();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue