- Mentioned In
- T257684: Make TermSearchInteractorFactory wiring use TermStoreDelegatingMatchingTermsLookup
T256668: 1.35.0-wmf.40 deployment blockers
- Mentioned Here
- rEIWSc5f6c97856a5: Use LanguageLinksHook to sort interwiki links
T253764: Undeploy the InterwikiSorting extension from Wikipedia production
(...) since anonymous readers would have compact interwiki list anyway.
That's not true on plwiki and perhaps other wikis, too. In any case, sorting is broken regardless of compact ULS being enabled or not.
I prefer to have all interwikis sorted than some interwikis without any order.
Anyway, Peter Bowman's hack works both on wikis with compact ULS and on those without it. (I've just pasted the hack into the JS console of my browser on a few pages on en.wiki to check this.)
Bowman's hack also added to MediaWiki:Common.js at svwp as well, and with success. Don't understand the MediaWiki:Group-user.js comment; shouldn’t anonymous users have alphabetical (short) lists as well? Is there an overhead to take into account?
A greater issue with @PeterBowman’s hack is that it ignores $wgInterwikiSortingSort and $wgInterwikiSortingSortPrepend configuration variables (documentation), so anyone adopting it should take their wiki’s sorting customs into account.
[urbanecm@mwmaint1002 ~]$ mwgrep 'T257625' bswiki MediaWiki:Group-user.js cawiki MediaWiki:Group-user.js elwiki MediaWiki:Common.js hrwiki MediaWiki:Group-user.js nowiki MediaWiki:Common.js plwiki MediaWiki:Common.js plwikisource MediaWiki:Common.js svwiki MediaWiki:Group-user.js (total: 8, shown: 8) [urbanecm@mwmaint1002 ~]$