mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 15:36:52 +00:00
Merge "Suppress hidden categories from subpage prefix searches"
This commit is contained in:
commit
714a58dace
|
@ -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