Page MenuHomePhabricator

CirrusSearch: If the search starts with a namespace and yields a suggestion then add the namespace back to the suggestion
Closed, ResolvedPublic

Description

If the search starts with a namespace and yields a suggestion then add the namespace back to the suggestion.

Search for "Special:searc" and it should suggest "Special:search" not "search".


Version: unspecified
Severity: normal

Details

Reference
bz58348

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz58348.

Since we're never supposed to index special pages the example is invalid but the theory remains valid. Here is the example from the tests:

When I search for Template:nobel piep
Then Template:*noble pipe* is suggested

Change 103389 had a related patch set uploaded by Manybubbles:
Do not remove namespace prefixes from suggestions

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

Change 103389 merged by jenkins-bot:
Keep special syntax in suggestions

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