Last modified: 2014-03-29 08:02:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32947, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30947 - The language of google map is hardcoded by the first viewer
The language of google map is hardcoded by the first viewer
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://translatewiki.net/wiki/User:Qd...
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-17 07:55 UTC by Niklas Laxström
Modified: 2014-03-29 08:02 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2011-09-17 07:55:05 UTC
The example user shows Japanese for me, and I can see ja hardcoded in the page source. On preview it turns into Finnish.
Comment 1 Jeroen De Dauw 2011-09-17 17:58:50 UTC
I don't see how that can be fixed. Any suggestions?
Comment 2 Niklas Laxström 2011-09-20 09:30:17 UTC
Can you elaborate why you think it cannot be fixed?
Comment 3 Jeroen De Dauw 2011-09-20 09:43:42 UTC
I do not thing it cannot be fixed. I simply don't see how it can be fixed. (you could have the parser function turn of the cashing for the page, but that's a rather bad thing to do)
Comment 4 Niklas Laxström 2011-09-20 09:46:01 UTC
Is there some problematic order requirements of the scripts? Can we make it load a small script instead. The only thing that script would do is to load the correct language version of the real script.
Comment 5 Jeroen De Dauw 2011-09-20 10:02:02 UTC
This is actually what I initially tried when implementing the Google Maps v3 stuff, but the GM API didn't seem to like loading it after page load. (The thing you load is in itself a script loader.) I might just have been doing something wrong though - this is something worth looking into.

Right now the script gets loaded via a script tag created by the actual parser function PHP.
Comment 6 Jeroen De Dauw 2014-03-29 04:36:52 UTC
https://github.com/JeroenDeDauw/Maps/issues/26
Comment 7 Niklas Laxström 2014-03-29 08:02:46 UTC
For clarification, the bug was only moved to GitHub.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links