Daniel Werner has submitted this change and it was merged. Change subject: (Bug 37750) Sort sitelinks before listing throug wbgetitems ......................................................................
(Bug 37750) Sort sitelinks before listing throug wbgetitems As a simple fix for "New added interwikis are appended instead of sorted into the list" the list of sitelinks is sorted before being used for building the list in wbsetitem. Sorting is according to the global id and will give a fixed sort order, but not one that all users are comfortable with. See also change I7685e904 Change-Id: I4ffd8be719d295290cacc92c6cdd37c5d6d10097 --- M repo/includes/api/Api.php M repo/includes/api/ApiGetItems.php M repo/tests/phpunit/includes/api/ApiGetItemsTest.php 3 files changed, 109 insertions(+), 2 deletions(-) Approvals: Daniel Werner: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/23297 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4ffd8be719d295290cacc92c6cdd37c5d6d10097 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: John Erling Blad <john.b...@wikimedia.de> Gerrit-Reviewer: Daniel Werner <daniel.wer...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits