Last modified: 2014-10-09 19:02:04 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 T48167, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46167 - Interwiki links order on sr wiki incorrect before manual purge
Interwiki links order on sr wiki incorrect before manual purge
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-15 19:24 UTC by wikiwind.wikipedia
Modified: 2014-10-09 19:02 UTC (History)
10 users (show)

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


Attachments

Description wikiwind.wikipedia 2013-03-15 19:24:07 UTC
After migrating iw links from sr wiki to Wikidata, our users noticed that interwiki links order is different. We have our local configuration (http://sr.wikipedia.org/wiki/%D0%9C%D0%B5%D0%B4%D0%B8%D1%98%D0%B0%D0%B2%D0%B8%D0%BA%D0%B8:Interwiki_config-sorting_order) that seems to be ignored.

Is it possible to restore previous interwiki order (from our local configuration)?
Comment 1 Nikola Smolenski 2013-03-17 03:30:54 UTC
For some reason, srwiki uses custom sort order for interwikis. This can be solved by including the following into srwiki's local settings:

$wgWBSettings['sortPrepend'] = array(
'ace', 'kbd', 'af', 'ak', 'als', 'am', 'ang', 'ab', 'ar', 'an', 'arc', 'roa-rup', 'frp', 'arz', 'as', 'ast', 'gn', 'av', 'ay', 'az', 'bjn', 'id', 'ms', 'bg', 'bm', 'zh-min-nan', 'nan', 'map-bms', 'jv', 'su', 'ba', 'be', 'be-x-old', 'bh', 'bcl', 'bi', 'bn', 'bo', 'bar', 'bs', 'bpy', 'br', 'bug', 'bxr', 'ca', 'ceb', 'ch', 'cbk-zam', 'sn', 'tum', 'ny', 'cho', 'chr', 'co', 'cy', 'cv', 'cs', 'da', 'dk', 'pdc', 'de', 'nv', 'dsb', 'na', 'dv', 'dz', 'mh', 'et', 'el', 'eml', 'en', 'myv', 'es', 'eo', 'ext', 'eu', 'ee', 'fa', 'hif', 'fo', 'fr', 'fy', 'ff', 'fur', 'ga', 'gv', 'sm', 'gag', 'gd', 'gl', 'gan', 'ki', 'glk', 'got', 'gu', 'ha', 'hak', 'xal', 'haw', 'he', 'hi', 'ho', 'hsb', 'hr', 'hy', 'io', 'ig', 'ii', 'ilo', 'ia', 'ie', 'iu', 'ik', 'os', 'xh', 'zu', 'is', 'it', 'ja', 'ka', 'kl', 'kr', 'pam', 'krc', 'csb', 'kk', 'kw', 'rw', 'ky', 'mrj', 'rn', 'sw', 'km', 'kn', 'ko', 'kv', 'kg', 'ht', 'ks', 'ku', 'kj', 'lad', 'lbe', 'la', 'ltg', 'lv', 'to', 'lb', 'lez', 'lt', 'lij', 'li', 'ln', 'lo', 'jbo', 'lg', 'lmo', 'hu', 'mk', 'mg', 'mt', 'mi', 'min', 'cdo', 'mwl', 'ml', 'mdf', 'mo', 'mn', 'mr', 'mus', 'my', 'mzn', 'nah', 'fj', 'ne', 'nl', 'nds-nl', 'cr', 'new', 'nap', 'ce', 'frr', 'pih', 'no', 'nb', 'nn', 'nrm', 'nov', 'oc', 'mhr', 'or', 'om', 'ng', 'hz', 'uz', 'pa', 'pfl', 'pag', 'pap', 'koi', 'pi', 'pcd', 'pms', 'nds', 'pnb', 'pl', 'pt', 'pnt', 'ps', 'aa', 'kaa', 'crh', 'ty', 'ksh', 'ro', 'rmy', 'rm', 'qu', 'ru', 'rue', 'sa', 'sah', 'se', 'sg', 'sc', 'sco', 'sd', 'stq', 'st', 'nso', 'tn', 'sq', 'si', 'scn', 'simple', 'ss', 'sk', 'sl', 'cu', 'szl', 'so', 'ckb', 'srn', 'sr', 'sh', 'fi', 'sv', 'ta', 'shi', 'tl', 'kab', 'roa-tara', 'tt', 'te', 'tet', 'th', 'ti', 'vi', 'tg', 'tokipona', 'tp', 'tpi', 'chy', 've', 'tr', 'tk', 'tw', 'udm', 'uk', 'ur', 'ug', 'za', 'vec', 'vep', 'vo', 'fiu-vro', 'wa', 'vls', 'war', 'wo', 'wuu', 'ts', 'xmf', 'yi', 'yo', 'diq', 'zea', 'zh', 'zh-tw', 'zh-cn', 'zh-classical', 'zh-yue', 'bat-smg',
);
Comment 2 Nikola Smolenski 2013-03-28 03:18:17 UTC
Disregard previous comment. I see that srwiki's sorting order is implemented in WB client itself, so it should be just:

$wgWBSettings['sort'] = 'alphabetic_sr';
Comment 3 Aude 2013-03-28 05:05:22 UTC
I don't know how/why it's not working but shall poke at this.

Ultimately, we want to be able to use custom sort orders if they are defined in MediaWiki:Interwiki_config-sorting_order and only have a handful of default sort order settings.
Comment 4 Aude 2013-03-28 05:37:12 UTC
I am having some trouble understanding the issue. Can you please give me a specific wikipedia page, as an example?

I am looking at http://sr.wikipedia.org/wiki/%D0%9F%D0%BE%D1%99%D1%81%D0%BA%D0%B0 which I purged.  It has 'bat-smg' last in the sorting, after zh and everything.  It is consistent with http://sr.wikipedia.org/wiki/%D0%9C%D0%B5%D0%B4%D0%B8%D1%98%D0%B0%D0%B2%D0%B8%D0%BA%D0%B8:Interwiki_config-sorting_order  None of the other sort orders are like that.

Is there something else out of order there?
Comment 5 Nikola Smolenski 2013-03-28 07:13:10 UTC
OK, it appears that the correct order is established after the page is purged. But what cause the wrong order to appear in the first place? Is this a one-time issue or will this happen again whenever Wikidata is updated?
Comment 6 Aude 2013-03-28 09:55:01 UTC
@nikola: I really don't know.... if you see an example where it's not correct, then we can take a look and investigate.
Comment 7 Andre Klapper 2013-04-08 15:01:44 UTC
wikiwind / Nikola: Could you provide an example, please?
Comment 8 wikiwind.wikipedia 2013-04-08 17:02:25 UTC
http://sr.wikipedia.org/wiki/%D0%9E%D0%BA%D1%81%D0%B8%D0%BC%D0%BE%D1%80%D0%BE%D0%BD

Interwiki links order is wrong, and there is no "edit links" link to wikidata.
Comment 9 Lydia Pintscher 2013-10-08 16:20:59 UTC
This seems to be fixed now. Closing. Please reopen with link to article if it still happens.

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


Navigation
Links