[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #16 from Platonides platoni...@gmail.com 2011-05-24 13:53:42 UTC 
---
Soved as in there's a gadget for this. It could be converted into a
extension, if you prefer.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #17 from Chad H. innocentkil...@gmail.com 2011-05-24 14:08:56 UTC 
---
uselang is in core, there's no reason this shouldn't be there as well IMO.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #18 from Platonides platoni...@gmail.com 2011-05-24 14:32:45 UTC 
---
I don't think it's good for core. Perhaps it can get a place inside
Extension:LanguageSelector though.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

Platonides platoni...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #14 from Platonides platoni...@gmail.com 2011-05-23 21:35:54 UTC 
---
Links from cs.wikipedia.org are not being translated.

Given your insistence, I have also instructed it about treating
www.wikiskripta.eu as Czech.

http://commons.wikimedia.org/w/index.php?title=MediaWiki%3AAnonymousI18N.jsaction=historysubmitdiff=54699986oldid=54699044

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #15 from Chad H. innocentkil...@gmail.com 2011-05-23 21:47:59 UTC 
---
How is this fixed? The solution in question seems to only apply to commons.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

dohnp...@gmail.com changed:

   What|Removed |Added

   Priority|Low |Normal
 CC||dohnp...@gmail.com

--- Comment #9 from dohnp...@gmail.com 2011-05-21 09:43:01 UTC ---
I do not think it really works in that way, because:

The only thing improved regarding this is that uselang in links is permanent
now during the session.

I have Commons always in English if unlogged, although my browser language
setting is cs-sk-eo-de-en.

If I link to WC from a Czech wikiproject (Wikipedia or WikiSkripta.eu)
unlogged, I got the interface always in English (if uselang not used).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #10 from Platonides platoni...@gmail.com 2011-05-21 13:00:48 UTC 
---
What language is your browser *interface* in?

WikiSkripta.eu is not considered. But links fronm cz.wikipedia.org should be
taken into account.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #11 from dohnp...@gmail.com 2011-05-21 13:35:21 UTC ---
My browser interface is in Czech (cs).

If I click (unlogged) on file description page in the sentence This file is
from Wikimedia Commons and may be used by other projects. The description on
its file description page there is shown below. on a local image page (for
instance http://cs.wikipedia.org/wiki/Soubor:Symbol_kept_vote.svg;), I get
Commons in English.

If the language is preserved automatically among Wikimedia project (which
doesn't work now), there could be an option of the MediaWiki setting, useful
for external wikiprojects, to add uselang to the links from local image pages
to Commons. E.g. WikiSkripta.eu, using InstantCommons, need it, because many
users there refuse working at Commons, if the interface is in English.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 CC||krinklem...@gmail.com

--- Comment #12 from Krinkle krinklem...@gmail.com 2011-05-21 14:51:26 UTC ---
When I browser from http://cs.wikipedia.org/wiki/Soubor:Symbol_kept_vote.svg to
http://commons.wikimedia.org/wiki/File:Symbol_kept_vote.svg, AnonymousI18N
redirects me to suggestlang (which was set to 'cz', based on the referring
wikimedia domain).

Due to a script error this didn't happen in some cases, that is fixed [1] now.

--
Krinkle

[1]
http://commons.wikimedia.org/w/index.php?title=MediaWiki%3AAnonymousI18N.jsdiff=54608039oldid=54460611

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #13 from dohnp...@gmail.com 2011-05-21 15:34:41 UTC ---
When I browser from
http://www.wikiskripta.eu/index.php/Soubor:Symbol_kept_vote.svg to
http://commons.wikimedia.org/wiki/File:Symbol_kept_vote.svg, I get the English
interface, nevertheless there is a panel above the picture, writing Wikimedia
Commons je dostupné v češtině. (Wikimedia Commons are available in Czech.) and
I can click on it to have the Czech version of Commons.

So, the language information is transferred in some way already now – couldn't
it be transformed to the interface language directly?

Resumed, there are two parts to sort out, both for unlogged users:
* Commons interface after linking from external wikiprojects.
* Default Commons language neglecting the browser settings.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2011-01-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 CC||krinklem...@gmail.com

--- Comment #8 from Krinkle krinklem...@gmail.com 2011-01-31 15:25:28 UTC ---
Since last december a javascript solution[1] has been implemented at Wikimedia
Commons.

Short summary:
* puts a dropdown menu in the Sidebar with all supported languages
* Auto-guesses from: cookie (not available on initial visit), then referalwiki,
then browser language and finally a fallback to the content language (English
in commons' case).
* When current language is different from the one guessed it presents an
(internationalized) message on top of the site asking the user if he or she
would like to view (Sitename) in the guessed language.
* When coming from a wikimedia wiki the language of that wiki is automatically
appended.
* When clicking  (not onload) an internal link or external link within WMF it
preserves the uselang-setting
* The setting is preserved by a cookie.

[1] http://commons.wikimedia.org/wiki/MediaWiki:AnonymousI18N.js

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2010-03-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

Thana m8r-cyc...@mailinator.com changed:

   What|Removed |Added

 CC||m8r-cyc...@mailinator.com

--- Comment #7 from Thana m8r-cyc...@mailinator.com 2010-03-20 04:38:19 UTC 
---
 Wouldn't it be enough to set uselang to cascade such that links you're 
 clicking
 have that param?

While waiting for a real solution that behavior would be very easy to mimic
using javascript, except for a previously unvisited site it would have to come
through greasemonkey or wikibits.js.

Preserving useskin= in the same way(s) would be good too, as long as we're
messing with it.

Global prefs for things like this would be ideal.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2010-03-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

Platonides platoni...@gmail.com changed:

   What|Removed |Added

 CC||platoni...@gmail.com

--- Comment #4 from Platonides platoni...@gmail.com 2010-03-12 23:23:10 UTC 
---
(In reply to comment #3)
 Wouldn't it be enough to set uselang to cascade such that links you're 
 clicking
 have that param?

That means reparsing the whole contents just to add that parameter. Although
you could always use an ugly regex to do that.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2010-03-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

Chad H. innocentkil...@gmail.com changed:

   What|Removed |Added

 CC||innocentkil...@gmail.com

--- Comment #5 from Chad H. innocentkil...@gmail.com 2010-03-12 23:26:12 UTC 
---
(In reply to comment #4)
 (In reply to comment #3)
  Wouldn't it be enough to set uselang to cascade such that links you're 
  clicking
  have that param?
 
 That means reparsing the whole contents just to add that parameter. Although
 you could always use an ugly regex to do that.

You could at least handle everything that goes through Linker::link() in one
place. Doesn't help for raw a though.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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


[Bug 4125] Preserve ?uselang=xx / uselang=xx during sessions

2010-03-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=4125

--- Comment #6 from Platonides platoni...@gmail.com 2010-03-12 23:41:42 UTC 
---
You want to fetch the page from memcached, and maybe also the sidebar.
A regex would be able to set the proper uselangs without having to reparse
everything. But so ugly resorting to that...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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