Bugs item #1981134, was opened at 2008-06-01 06:58 Message generated for change (Comment added) made by malafaya You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1981134...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: interwiki Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mikko Silvonen (silvonen) Assigned to: Nobody/Anonymous (nobody) Summary: New languages not sorted correctly
Initial Comment: Some new languages (myv, ext, hif, gan, kaa, mdf, sah, szl and srn) were added in r5440, but the codes were not added in self.alphabetic_revised and self.alphabetic_lb in the file families/wikipedia_family.py, so these languages are not always sorted correctly.
Another problem: As far as I can see, hif, kaa, sah and szl are sorted incorrectly in self.alphabetic in the file family.py. Shouldn't they be sorted as follows?
fa, hif (Fiji Hindi), fo (Froyskt);
pt (Portugus), kaa (Qaraqalpaqsha), crh (Qrmtatarca);
ru (), sah ( / Sakha tyla), se (Smegiella); and
sl (Slovenina), szl (lnski), so (Soomaaliga).
I am attaching a patch for family.py. Sorry, no patch for families/wikipedia_family yet.
----------------------------------------------------------------------
Comment By: Andr Malafaya Baptista (malafaya)
Date: 2008-09-09 15:08
Message: Partially corrected in r5881. Not done: * Languages hif & srn not listed in http://meta.wikimedia.org/wiki/Interwiki_sorting_order * Couldn't find a list for alphabetical_lb
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2008-06-03 06:27
Message: Logged In: YES user_id=127947 Originator: YES
Sorry, but r5500 fixed the problem only for some languages. The new languages need to be added also in self.alphabetic_revised and self.alphabetic_lb in families/wikipedia_family.py, where the sorting order is different. I just didn't have time to propose a patch for this file.
----------------------------------------------------------------------
Comment By: siebrand (siebrand) Date: 2008-06-02 23:30
Message: Logged In: YES user_id=1107255 Originator: NO
Fixed in r...
----------------------------------------------------------------------
Comment By: siebrand (siebrand) Date: 2008-06-02 23:30
Message: Logged In: YES user_id=1107255 Originator: NO
Fixed in r5500
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2008-06-01 07:30
Message: Logged In: YES user_id=127947 Originator: YES
Hmm, I wonder how many errors there are with previously added languages? At least stq (Seeltersk) is sorted incorrectly in self.alphabetic and missing from the other tables.
Does anyone have a sorting order test kit?
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2008-06-01 07:09
Message: Logged In: YES user_id=127947 Originator: YES
Also ext is sorted incorrectly in self.alphabetic. I'll upload a corrected patch.
File Added: family.diff
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1981134...
pywikipedia-l@lists.wikimedia.org