Page MenuHomePhabricator

Fallback namespaces are what has been defined in user preferences
Closed, DeclinedPublic

Description

Motivation
Users can define a default namespace selection in the currrent namespace search UI. This selection should be used as default namespace selection when using the advanced search, too.

Task
Use the default namespaces ("what the backend gives you as namespaces") when otherwise no namespaces would be selected

Acceptance Criteria

  • When a user goes onto SpecialSearch:Page, their default preferences are shown in the namespaces bar (done in T172260, this is the follow-up)
  • When unchecking the "all" namespace preset the user's default preferences are shown in the namespaces bar
  • if a user does have an empty default preference, the MAIN_NAMESPACE (article) is used as user's default preference (status quo)
  • we don't persist preference change (that is T181638)