HomePhabricator

Show users default namespaces after submit without namespaces
fa0a46ddb338Unpublished

Authored by thiemowmde on Mar 26 2018, 7:35 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Show users default namespaces after submit without namespaces

The first patch I189db67 for the story T189130 was incomplete and mostly
meant to quickly remove a blocker from the codebase. This patch here does:

  • Remove all remaining hard coded "default to article/main namespace" instances.
  • When the form is submitted with no namespaces selected, this empty array is intentionally not submitted as an URL parameter. This does have two effects:
    • The users default namespaces become visible again. The code responsible for this is the same as when Special:Search is originally called with no URL parameters. This avoids having two code-paths for this.
    • The URL contains less stuff. This magically solves parts of T188509.

Bug: T189130
Change-Id: Iac7f836fe03b8d7fb09daf4f52c82cc86cbb0cb3

Details

Committed
thiemowmdeMar 26 2018, 7:35 AM
ChangeId
Iac7f836fe03b8d7fb09daf4f52c82cc86cbb0cb3

Commit No Longer Exists

This commit no longer exists in the repository.