[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 tobias.gritschac...@wikimedia.de changed: What|Removed |Added Status|RESOLVED|VERIFIED -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 tobias.gritschac...@wikimedia.de changed: What|Removed |Added Status|PATCH_TO_REVIEW |RESOLVED CC||tobias.gritschacher@wikimed ||ia.de Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 --- Comment #8 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 114486 merged by jenkins-bot: Don't display languages based on ULS heuristics if I have a Babel box https://gerrit.wikimedia.org/r/114486 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Lydia Pintscher lydia.pintsc...@wikimedia.de changed: What|Removed |Added Whiteboard|backlog u=dev c=frontend|u=dev c=frontend p=3 |p=3 | -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Lydia Pintscher lydia.pintsc...@wikimedia.de changed: What|Removed |Added Whiteboard|backlog u=dev c=frontend|backlog u=dev c=frontend |p=0 |p=3 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Lydia Pintscher lydia.pintsc...@wikimedia.de changed: What|Removed |Added Whiteboard|backlog u=Thiemo|backlog u=dev c=frontend |c=WikidataRepo p=3 |p=0 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 christopher.john...@wikimedia.de changed: What|Removed |Added Whiteboard|backlog |backlog u=Thiemo ||c=WikidataRepo p=3 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 --- Comment #7 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 114486 had a related patch set uploaded by Thiemo Mättig (WMDE): Don't display languages based on ULS heuristics if I have a Babel box https://gerrit.wikimedia.org/r/114486 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|ASSIGNED|PATCH_TO_REVIEW -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Thiemo Mättig thiemo.maet...@wikimedia.de changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|wikidata-bugs@lists.wikimed |thiemo.maet...@wikimedia.de |ia.org | --- Comment #6 from Thiemo Mättig thiemo.maet...@wikimedia.de --- (In reply to Andy Mabbett from comment #5) I was responding specifically to your [...] I know. :-) I wasn't sure if you know about the Accept-Language settings in your browser. http://www.w3.org/International/questions/qa-lang-priorities.en I think I have a good idea how to fix the described issue and started working on it. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Lydia Pintscher lydia.pintsc...@wikimedia.de changed: What|Removed |Added Keywords||need-volunteer Priority|Unprioritized |Normal CC||adrian.l...@wikimedia.de, ||henning.sna...@wikimedia.de ||, ||lydia.pintscher@wikimedia.d ||e, ||thiemo.maet...@wikimedia.de Whiteboard||backlog -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Thiemo Mättig thiemo.maet...@wikimedia.de changed: What|Removed |Added Component|WikidataRepo|WikidataClient Version|unspecified |master --- Comment #1 from Thiemo Mättig thiemo.maet...@wikimedia.de --- Please check if [[d:Special:MyLanguageFallbackChain]] displays en only (I'm pretty sure it does). I started digging into this issue and found the reason. But I'm afraid we can not fix this easily without breaking the experience for some users. First, it's important to understand that there are two very different algorithms, one on the server (PHP) and one in the client (JavaScript). The server (you can try this if you disable JavaScript) uses two sources: 1. The language you had set in your preferences (or by using ?setlanguage=xx in the URL). 2. All languages in the #babel box (including xx-0 languages, which is a different bug that should be fixed). The current interface language (this can be different from your preference if you are using ?uselang=xx) is excluded. The client relies on a function from the UniversalLanguageSelector (ULS) which uses other sources: 1. Current interface language. 2. Wiki's content language. 3. Accept-Languages from the browser. 4. User's previous selected languages. 5. Language from the user's geolocation. The first language (which always is the current interface language) is truncated. Max. 3 languages are displayed. Result for anonymous users: 1. The server never displays other languages since anonymous users neither have preferences nor #babel. ULS magic always happens. Results for registered users: 2. If a user does not have a #babel and the interface language is identical to his preferences (which should be the default in most cases) it's the same as for anonymous users. 3. If the user temporary changed the interface language (?uselang=xx) only the preference language will be used in other languages. ULS magic does not happen in this case. 4. If the user does have a #babel with two or more languages this will be used. ULS magic never happens in this case. 5. If there is only 1 language in the #babel box and it happens to be identical to the interface language it's basically ignored. The server does not display other languages. ULS kicks in. No. 5 is the problem. It's possible to fix it without breaking no. 1 by checking if the user is logged in. But no. 2 will break (which I consider important). Currently there is no way to distinguish between no. 2 and 5. JavaScript simply does not know if the user has a #babel box set or not. Workaround: Delete the uls-previous-languages cookie. Check the languages in your browser settings and remove languages you don't want. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 --- Comment #2 from Andy Mabbett a...@pigsonthewing.org.uk --- I have as requested checked [[d:Special:MyLanguageFallbackChain]], while logged in; it lists only en - English. I have only English listed under the languages in my browser settings (in each of the browsers in which this occurs); there are no Scots or Cymraeg options for me to delete. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Lydia Pintscher lydia.pintsc...@wikimedia.de changed: What|Removed |Added Component|WikidataClient |WikidataRepo --- Comment #3 from Lydia Pintscher lydia.pintsc...@wikimedia.de --- Thiemo: Let's talk about this quickly tomorrow. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 --- Comment #4 from Thiemo Mättig thiemo.maet...@wikimedia.de --- (In reply to Andy Mabbett from comment #2) there are no Scots or Cymraeg options for me to delete. These are probably determined from your geolocation (or from the cookie, if you haven't deleted it). I would love to fix this but this needs a bit of refactoring of the underlying PHP code to not break case no. 2 as described above. Not sure if this is worth the trouble at the moment since we have more important things to fix first. Other workaround: Add a second language to your Babel box. Instead of multiple other languages only this single additional language will be displayed. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 --- Comment #5 from Andy Mabbett a...@pigsonthewing.org.uk --- (In reply to Thiemo Mättig from comment #4) (In reply to Andy Mabbett from comment #2) there are no Scots or Cymraeg options for me to delete. These are probably determined from your geolocation (or from the cookie, if you haven't deleted it). I was responding specifically to your Check the languages in your browser settings and remove languages you don't want. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 61446] Wikidata: inappropriate language prompts
https://bugzilla.wikimedia.org/show_bug.cgi?id=61446 Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed: What|Removed |Added CC||legoktm.wikipe...@gmail.com ||, ||wikidata-bugs@lists.wikimed ||ia.org Component|General/Unknown |WikidataRepo Assignee|wikibugs-l@lists.wikimedia. |wikidata-bugs@lists.wikimed |org |ia.org Product|MediaWiki |MediaWiki extensions -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l