Last modified: 2014-09-02 17:15:03 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 T56836, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54836 - Redirect pages with all-uppercase words don't get picked up when searching in lowercase
Redirect pages with all-uppercase words don't get picked up when searching in...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.22.0
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-01 18:21 UTC by Steve
Modified: 2014-09-02 17:15 UTC (History)
5 users (show)

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


Attachments

Description Steve 2013-10-01 18:21:05 UTC
If a page contains an all-uppercase "word" and is a redirect, the search Go function will not take you to the redirect page if you search in lowercase. For example, say the page "Test ONE" redirects to the Main Page. Searching "test one" and using Go will not catch the redirect, it will take you to the search results page. If the page is NOT a redirect page, then it works as it should. If you search "test one" and "Test ONE" exists as a non-redirect, you will be taken to the page.

It should be noted that the opposite situation works fine. If a redirect page is called "Test one" and you search for "test ONE", the redirect will catch like normal. So there is a very specific case where it does not work that should be fixed.
Comment 1 Andre Klapper 2013-10-02 08:19:09 UTC
Thanks for taking the time to report this!

On which site does this happen? (Exact and complete steps to reproduce are always welcome - some wikis use CirrusSearch, some use the old MWSearch)
Comment 2 Steve 2013-10-02 11:07:04 UTC
Base MediaWiki install with default search. Note that for whatever reason, Wikipedia doesn't have this problem. I've decided to illustrate the problem and compare to Wikipedia:

http://i.imgur.com/jbQWahK.png

I should mention that the issue occurs whether the all-uppercase "word" contains numbers or not. In the illustrated example there is a number, but remember that the "test ONE" case runs into the same problem.
Comment 3 Chad H. 2013-10-29 07:54:43 UTC
Not a problem with MWSearch/lsearchd or really with Cirrus either (moving to core as it's more relevant there, I suppose).

To get this desired result (case-insensitive search redirection) you'll need to install the TitleKey extension. In an ideal world we should probably move TitleKey to core.

This should probably be marked INVALID as it's not really a bug?
Comment 4 Steve 2013-10-29 08:03:32 UTC
TitleKey doesn't fix it.

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


Navigation
Links