Last modified: 2013-10-08 23:06:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39770, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37770 - Sorting of Aliases confusing
Sorting of Aliases confusing
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Wikidata bugs
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-21 08:11 UTC by tobias.gritschacher
Modified: 2013-10-08 23:06 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description tobias.gritschacher 2012-06-21 08:11:57 UTC
The way aliases are sorted is confusing.
e.g.:
uppercase word "Land" comes before lowercase word "book":

Also known as: 123 Land book

but it should be:

Also known as: 123 book Land
Comment 1 denny vrandecic 2012-07-05 16:17:26 UTC
Sorting is currently disabled. Item became invalid.
Comment 2 jeblad 2012-07-06 15:25:55 UTC
The list could be returned in sort order from the API, and by using insertion order in the UI that could make it possible to maintain sort order. This works when the whole set is transfered. It could also be possible to add an "insertion key" for the location to insert something if we are not transferring the whole list.

Both PHP and JS maintain insertion order for members of objects, so it should not pose a real problem to get this going. 

Actual class is IcuCollation in Collation.php. The class can be given a locale so sorting follows the set locale. The generated sort order should be the same as the one used on category pages, so be aware that there can be errors. One common error is placement of Ø in Norwegian (see http://no.wikipedia.org/wiki/Kategori:Kommuner_i_M%C3%B8re_og_Romsdal), which often sort before O in erroneous systems. Wikipedia now sorts this correctly.
Comment 3 Andre Klapper 2012-12-12 13:16:14 UTC
[Removing RESOLVED LATER as discussed in http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064240.html . Reopening and setting priority to "Lowest" as discussed on IRC.
For future reference, please use either RESOLVED WONTFIX (for issues that will not be fixed), or simply set lowest priority. Thanks a lot!]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links