sort order for inline queries is case sensitive
Closed, DeclinedPublic


Author: M8R-1omeu9

It would be really nice if one could have as a default (or specify) that |sort=someProperty sorts results in case insensitive order.

This clears up any confusion when there are many results and GIMP comes before Gdb, and CPPI comes before Clisp, for example.

Version: unspecified
Severity: enhancement
OS: Linux
Platform: PC

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz33134.
bzimport created this task.Via LegacyDec 14 2011, 9:32 PM
mkroetzsch added a comment.Via ConduitMar 26 2012, 8:59 AM

SMW will respect the sort key that is set in MediaWiki, so it is possible to manually defined a lower-case sort key as a workaround.

In general, the sort mode depends on the setting in the database and cannot easily be changed from query to query based on parameters. It might be possible for you to manually change the collation setting of the database table (for SMW sortkeys, the respective table is smw_ids, column smw_sortkey) so that it is not case sensitive.

How about MediaWiki's sorting behaviour on Category pages? Ideally, SMW should behave in the same way.

Aklapper closed this task as "Declined".Via WebMar 3 2015, 5:51 PM
Aklapper added a subscriber: Aklapper.

The Semantic MediaWiki developers requested in to move their task tracking to and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to . We are sorry for the inconvenience.

Add Comment