Page MenuHomePhabricator

Search result page is messing with namespaces of redirects when using a namespace in search term
Closed, DeclinedPublic

Description

German interface, advanced search: https://commons.wikimedia.org/w/index.php?search=Help%3AHotCat&title=Special%3ASearch

  1. Attachment also shows Bug 37871 (ignoring the namespace in advanced settings)
  2. Wrong namespace is prefixed. [[:commons:Help:HotCat]] did not exist it is [[:commons:Commons:HotCat]] where the link also points to.

How to reproduce:

  • Log in to Commons
  • Change your interface language to German (English seems to work also)
  • Visit

https://commons.wikimedia.org/w/index.php?search=Help%3AHotCat&title=Special%3ASearch

Expected result:

  • Weiterleitung von "Commons:HotCat" if the link goes to Commons:HotCat

Version: unspecified
Severity: normal

Attached:

bug_search.png (519×590 px, 18 KB)

Details

Reference
bz40944

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:12 AM
bzimport set Reference to bz40944.
bzimport added a subscriber: Unknown Object (MLST).

[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]

This bug is "fixed" in CirrusSearch, as CirrusSearch doesn't mention redirects on the search page.

As we're in the process of migrating from Lucene to CirrusSearch, I'm closing this bug as RESOLVED WONTFIX.