3 ms·
There is room for improvement here. Wiki could detect language preferences based on accept-language Header. "en-US,en;q=0.9,pl;q=0.8" is a pretty good indicatio
by rasz 6y ago
There is room for improvement here. Wiki could detect language preferences based on accept-language Header. "en-US,en;q=0.9,pl;q=0.8" is a pretty good indication I want English and Polish translations to be the first one listed. Alternatively/additionally you could let logged in users define sort order/preferences.
As is now I have to inject
['.vector-menu-content-list .interlanguage-link.interwiki-en', '.vector-menu-content-list .interlanguage-link.interwiki-pl'].forEach(el =>{
if (document.querySelector(el))
{
el.style = ''
let lang = document.querySelector(el)
lang.parentNode.insertBefore(lang, lang.parentNode.firstChild)
}
})
- fireattack 6y agoThey already adjust the list by the frequency you visit them. They don't by default show all 100+ language links anymore for a while.
- 3131s 6y agoRight, I did not like this change at all... I use the langlinks across many languages, way more so than the average user so my use case is different.
- fireattack 6y agoThe list is meant to change according to your usage, not the average user. Of course, you have to log in.