Page MenuHomePhabricator

OpenSearch returns results from wrong namespace if search term contains something that looks like a namespace
Closed, ResolvedPublic

Description

I'm not sure, whether this report is in the right component, I just chose the same as bug 40156.

de.wikipedia has categories starting with "Kategorie:Benutzer:", see [1]

But "Benutzer:" is also a namespace prefix. If you search for "Kategorie:Benutzer:A" OpenSearch returns the results for "Benutzer:A", instead of those for "Kategorie:Benutzer:A": [2]

[1] https://de.wikipedia.org/w/index.php?title=Spezial:Alle_Seiten&namespace=14&from=Benutzer%3A&to=Benutzer_aus_Bad_Essen

[2] https://de.wikipedia.org/w/api.php?format=xmlfm&action=opensearch&search=Kategorie:Benutzer:A


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52610

Details

Reference
bz40210

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:50 AM
bzimport set Reference to bz40210.

Looks like bug 22773 or related to that

This seems to work now per clicking the links in the original report.