Last modified: 2011-04-14 15:12:31 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 T16591, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14591 - Special:Linksearch should be case insensitive
Special:Linksearch should be case insensitive
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-19 12:40 UTC by Waldir
Modified: 2011-04-14 15:12 UTC (History)
3 users (show)

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


Attachments

Description Waldir 2008-06-19 12:40:29 UTC
Since URLs are case insensitive, Special:Linksearch should be too.
It seems it currently is semi-case-insensitive, that is:
* [[Special:LinkSearch/ufbir.ifas.ufl.edu/Chap21.htm]] returns 1 result;
* [[Special:LinkSearch/ufbir.ifas.ufl.edu/chap21.htm]] returns nothing.
however,
[[Special:LinkSearch/UfBiR.iFaS.uFl.EdU/Chap21.htm]] also returns the correct result. So, I suppose this only breaks after slashes (perhaps other special chars) in the url.
Comment 1 Chad H. 2008-06-19 12:49:13 UTC
While domains are case-insensitive (as described), the path isn't. If you browse to http://en.wikipedia.org/WIKI/, it doesn't work because the path after the domain _is_ case sensitive. Special:LinkSearch works according to this.

Now, should the path become case-insensitive for searching purposes? Probably, it'd be helpful. Is it broken? No.
Comment 2 Waldir 2008-06-19 13:03:11 UTC
The strange thing is, if I point my browser to http://ufbir.ifas.ufl.edu/cHaP21.htm it *does* work... maybe it depends on the server's OS? Indeed, IIRC on Windows the capitalization of paths is irrelevant while on Linux it isn't... right? Anyway, as you say, LinkSearch could be improved if all queries were lowercased first.
Comment 3 Brion Vibber 2008-07-05 00:25:42 UTC
Paths are opaque, and must be assumed to be case-sensitive. (They are when pointing at a standard Unix filesystem; may not be for Windows or Mac filesystems, and all bets are off if they're interpreted by a script of any kind, which there's no way to tell if it will happen.)

For sorting/searching purposes, it probably wouldn't hurt to do indexing with case-folding, though. This would require a tweak to the URL indexing function, then updates to existing records in externallinks table.
Comment 4 Raimond Spekking 2008-09-26 07:06:16 UTC
Extensions is now part of MediaWiki core (1.14alpha) -> changing product and component

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


Navigation
Links