Last modified: 2014-02-11 00:28:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59471, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57471 - Search listing redirects as "redirect Wikispecies:WS:xyz" instead of just "WS:xyz"
Search listing redirects as "redirect Wikispecies:WS:xyz" instead of just "WS...
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
wmf-deployment
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-23 01:51 UTC by PiRSquared17
Modified: 2014-02-11 00:28 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description PiRSquared17 2013-11-23 01:51:24 UTC
For example, https://species.wikimedia.org/wiki/Special:Search/Project:Admin

Expected top result:
[[Wikispecies:Administrators]] (redirect [[WS:ADMIN]])
Actual top result:
[[Wikispecies:Administrators]] (redirect [[WS:ADMIN|Wikispecies:WS:ADMIN]])

Note that [[species:Wikispecies:WS:ADMIN]] does not exist.
Comment 2 Bawolff (Brian Wolff) 2013-12-01 18:44:07 UTC
I cannot reproduce. I get your expected result in both cases.
Comment 3 Bawolff (Brian Wolff) 2013-12-01 18:45:25 UTC
(In reply to comment #2)
> I cannot reproduce. I get your expected result in both cases.

Nevermind. I got confused, I thought you meant a literal [[WS:ADMIN|Wikispecies:WS:ADMIN]], showing the bar and anything, not that that is what the wikicode of what you are seeing would be.
Comment 4 PiRSquared17 2013-12-01 18:46:21 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I cannot reproduce. I get your expected result in both cases.
> 
> Nevermind. I got confused, I thought you meant a literal
> [[WS:ADMIN|Wikispecies:WS:ADMIN]], showing the bar and anything, not that
> that
> is what the wikicode of what you are seeing would be.

I don't know how to format links in Bugzilla...
Comment 5 Bawolff (Brian Wolff) 2013-12-01 19:03:34 UTC
This appears to still be the case, even with CirrusSearch backend
Comment 6 Bawolff (Brian Wolff) 2013-12-01 19:28:58 UTC
(In reply to comment #5)
> This appears to still be the case, even with CirrusSearch backend

Actually I'm not even sure if I'm triggering the different backend correctly...

-----

Issue appears to be in the getRedirectSnippet() method of the relavent search results class.


As a point of clarity, comment 0 is not describing output, but what the wikitext would be like for the output that is seen.

If one ignored links/formatting, the actual behaviour is:

Wikispecies:Administrators (redirect Wikispecies:WS:ADMIN)

and the expected behaviour would be

Wikispecies:Administrators (redirect WS:ADMIN)
Comment 7 Andre Klapper 2013-12-02 10:06:20 UTC
(In reply to comment #4)
> I don't know how to format links in Bugzilla...

https://en.wikipedia.org/wiki/Wikipedia:Bugzilla#Links_from_within_Bugzilla
Comment 8 PiRSquared17 2013-12-14 14:50:52 UTC
Should this be under MediaWiki/Search? I know Wikimedia doesn't use the default search though.
Comment 9 PiRSquared17 2014-01-30 16:01:05 UTC
This is still happening.
Comment 10 Andre Klapper 2014-01-30 16:25:11 UTC
Note: CirrusSearch can be tested by attaching ?srbackend=CirrusSearch to the URL (and Cirrus is available according to https://species.wikimedia.org/wiki/Special:Version ).
Comment 11 PiRSquared17 2014-02-01 23:05:48 UTC
(In reply to comment #10)
> Note: CirrusSearch can be tested by attaching ?srbackend=CirrusSearch to the
> URL (and Cirrus is available according to
> https://species.wikimedia.org/wiki/Special:Version ).

Cirrus doesn't even show the redirects apparently.
Comment 12 Dan Garry 2014-02-11 00:28:42 UTC
I'm unable to reproduce this bug in CirrusSearch. Given that we're in the process of migrating from Lucene to CirrusSearch, I'm marking this bug as RESOLVED WONTFIX.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links