Last modified: 2014-09-01 13:14:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 28057 - [[Special:Book]] should pass "uselang" url parameter to AJAX requests
[[Special:Book]] should pass "uselang" url parameter to AJAX requests
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/wiki/Special...
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-15 14:22 UTC by Helder
Modified: 2014-09-01 13:14 UTC (History)
4 users (show)

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


Attachments
Screenshot showing an inconsistent translation of the interface (149.60 KB, image/png)
2011-06-28 10:43 UTC, Helder
Details
Screencast (1.06 MB, video/ogg)
2014-09-01 11:13 UTC, Helder
Details

Description Helder 2011-03-15 14:22:52 UTC
Steps to reproduce:
1. Go to [[Special:Book]] and add "?uselang=pt" to the end of the url (or just click in the url above);
* The interface will be in Portuguese now. This is expected.

2. Click on "Criar capítulo" (Portuguese translation of "create chapter") and add type some ramdom name, e.g. "test"
* It will be added a chapter with that name. This is expected
* The interface will change back to English and display
---------------------------------------------------
Create chapter    Sort alphabetically    Clear book
---------------------------------------------------

instead of
-----------------------------------------------------------
Criar capítulo    Ordenar alfabeticamente    Esvaziar livro
-----------------------------------------------------------

This is not expected.

Could you check what is wrong with it?
Comment 1 Hydriz Scholz 2011-03-16 05:33:11 UTC
There shouldn't be anything wrong with this, because the default language is "en" and without the "?uselang=pt" parameter, the page would be displayed in English, not Portuguese.
Comment 2 Volker Haas 2011-06-27 14:44:26 UTC
The behavior you describe seems to be perfectly normal. Clicking on any link after manually altering the URL reverts the language back to the original. Therefore I am closing this
Comment 3 Helder 2011-06-28 10:43:52 UTC
Created attachment 8715 [details]
Screenshot showing an inconsistent translation of the interface

(In reply to comment #2)
> The behavior you describe seems to be perfectly normal.

I disagree on this, since the result is an inconsistent interface, partially translated to the user's language and part in English.

See the attached screenshot.

IIRC it is possible to use ResourceLoader to get the translated messages for use in the [[Special:Book]] page in cases like this (since the page is not reloaded when the user click in those links/buttons).
Comment 4 Helder 2011-06-28 10:45:58 UTC
(In reply to comment #3)
> IIRC it is possible to use ResourceLoader to get the translated messages for
> use in the [[Special:Book]] page in cases like this (since the page is not
> reloaded when the user click in those links/buttons).

Krinkle, do you know if that is possible?
Comment 5 Bugmeister Bot 2011-08-19 19:12:30 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 6 Marcin Cieślak 2014-09-01 08:40:57 UTC
Seems we switched to talk about JavaScripted interface, so it's a dupe.

*** This bug has been marked as a duplicate of bug 17702 ***
Comment 7 Helder 2014-09-01 11:13:10 UTC
Created attachment 16335 [details]
Screencast

This has nothing to do with bug 17702. See the screencast.

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


Navigation
Links