Last modified: 2014-11-10 15:08:20 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 T74393, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72393 - property values formatted in english when entering them in non-english
property values formatted in english when entering them in non-english
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=0
:
: 72648 (view as bug list)
Depends on: 63059 72633
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-22 22:10 UTC by Aude
Modified: 2014-11-10 15:08 UTC (History)
6 users (show)

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


Attachments

Description Aude 2014-10-22 22:10:01 UTC
When I using wikidata in non-english (e.g. German) and enter a statement on Wikidta, with property value (wikibase-item), the value is displayed in english once it is saved instead of in German.

When I reload the item, then it is in German.
Comment 1 Aude 2014-10-22 22:38:28 UTC
this still happens on master
Comment 2 Adrian Lang 2014-10-23 13:52:22 UTC
If the frontend should pass the language to wbformatvalue and wbparsevalue, it would have to either pass the language to the valueview which passes it to the experts, or it would have to pass it in to getApiBasedValue{Formatter,Parser}Constructor. The latter is much easier.
Comment 3 Daniel Kinzler 2014-10-23 14:17:15 UTC
This could also be fixed in the API modules: they should default to the user language, not the content language.

Really, we should do both. The API should use the "correct" default, and the UI code should always pass a language when parsing or formatting, for completeness and consistency.
Comment 4 Henning 2014-10-27 15:11:34 UTC
I guess that is related bug #63059.
Comment 5 Aude 2014-10-28 21:52:47 UTC
*** Bug 72648 has been marked as a duplicate of this bug. ***
Comment 6 Calak 2014-10-28 22:31:18 UTC
*** Bug 72648 has been marked as a duplicate of this bug. ***
Comment 7 Lydia Pintscher 2014-11-03 18:23:48 UTC
Still happening on test.wikidata.org right now.
Comment 8 Lydia Pintscher 2014-11-10 15:08:20 UTC
Fixed on beta now.

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


Navigation
Links