Page MenuHomePhabricator

Refactor Namespace handling
Closed, ResolvedPublic

Description

Namespace selection code is duplicated between init and namespace providers. There should be a central class that provides the namespaces available for search.

This is a followup for T173736: Create a namespace checkbox for "General Help" and should have been part of that ticket.

Event Timeline

Documentation for namespaces was done in parallel in T188517

Change 415337 had a related patch set uploaded (by Gabriel Birke; owner: Gabriel Birke):
[mediawiki/extensions/AdvancedSearch@master] [wIP] Create a shared namespace repository

https://gerrit.wikimedia.org/r/415337

Change 415337 merged by jenkins-bot:
[mediawiki/extensions/AdvancedSearch@master] Create a shared namespace repository

https://gerrit.wikimedia.org/r/415337