Last modified: 2011-04-14 15:12:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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)
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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/]] returns 1 result;
* [[Special:LinkSearch/]] returns nothing.
[[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, 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 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.