Page MenuHomePhabricator

#ask is case sensitive
Closed, InvalidPublic

Description

Author: kristpgh

Description:
Special:Ask is case sensitive
For example
http://localhost/wiki/index.php?title=Special:Ask&q=[[Category:Person]][[Has name::~*r*]]&po=?Has+name ->return 2 items,
but
http://localhost/wiki/index.php?title=Special:Ask&q=[[Category:Person]][[Has name::~*R*]]&po=?Has+name return nothing("No results.")

[[Has name::~*R*]] - 0 items,but [[Has name::~*r*]] - 2 items
I configured mediawiki with innodb schema, and utf8 charset table,use MySQL

How to solve this problem?


Version: REL1_20-branch
Severity: major
OS: Linux

Details

Reference
bz51247

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:49 AM
bzimport set Reference to bz51247.
bzimport added a subscriber: Unknown Object (MLST).
Unknown Object (User) added a comment.Jul 14 2013, 10:59 PM

Unless the documentation says otherwise, searches (and with it #ask) are case sensitive.

Property values are generally not equalized and stored as found in the wikitext.

Asking for [[Has name::~*R*]] is different from asking [[Has name::~*r*]] therefore results can be but don't have to be equal.

See also Bug 21314.