Page MenuHomePhabricator

Document InterwikiSortOrders.php
Closed, ResolvedPublic

Description

The file is pretty much black magic

What do the different sorting orders mean? What do they do? Why are they different?

How does one know where to add new language codes in each of the arrays?

Event Timeline

Addshore added a subscriber: Addshore.

I guess this now applies to https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InterwikiSortOrders.php ?

Maybe we should go and add a largeish comment at the top of the file explaining what it does?

Change 455765 had a related patch set uploaded (by Addshore; owner: Addshore):
[operations/mediawiki-config@master] InterwikiSortOrders.php doc / comment

https://gerrit.wikimedia.org/r/455765

Change 455765 merged by jenkins-bot:
[operations/mediawiki-config@master] InterwikiSortOrders.php doc / comment

https://gerrit.wikimedia.org/r/455765

Mentioned in SAL (#wikimedia-operations) [2018-08-29T08:10:20Z] <addshore@deploy1001> Synchronized wmf-config/InterwikiSortOrders.php: DOCS ONLY: T170745 [[gerrit:455765|InterwikiSortOrders.php doc / comment]] (duration: 00m 57s)