Page MenuHomeYugipedia

Investigate SMW sorting issues
Open, NormalPublic

Description

Since SMW was upgraded to 3.0.0, results have not been sorting alphabetically by default. See for example https://yugipedia.com/wiki/List_of_%22Cyber%22_cards.

Help:Sorting on semantic-mediawiki.org states that starting with 3.0.0, SMW respects MediaWiki's collation settings when sorting, but we haven't customized any of the collation settings AFAIK.

Comparing the debug output of {{Card query}} before and after a manual sorting fix shows differences in the sorting-related part of the underlying database query that may help diagnose the issue.

The following pages have manually restored the correct results ordering, which can be reverted after the underlying issue is fixed:

Related Objects

Event Timeline

Dinoguy1000 updated the task description. (Show Details)Oct 16 2018, 7:47 PM
Dinoguy1000 updated the task description. (Show Details)Oct 16 2018, 7:56 PM
Dinoguy1000 updated the task description. (Show Details)Oct 18 2018, 4:41 AM
Dinoguy1000 updated the task description. (Show Details)

It looks like SMW 3.0.0 introduced some extra sort key which is being set on pages as they are edited; I'm wondering if resolving T27 won't resolve this, then.

Dinoguy1000 updated the task description. (Show Details)Oct 19 2018, 4:05 PM
Dinoguy1000 updated the task description. (Show Details)Oct 19 2018, 4:25 PM
Dinoguy1000 updated the task description. (Show Details)Nov 27 2018, 6:43 PM
corey added a subscriber: corey.Jan 17 2019, 3:29 PM

@Dinoguy1000 has this been corrected by the recent rebuild?