sort order for inline queries is case sensitive
Closed, DeclinedPublic

Description

Author: M8R-1omeu9

Description:
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: wikibugs-l.
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 https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues 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 https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues . We are sorry for the inconvenience.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.