https://bugzilla.wikimedia.org/show_bug.cgi?id=38181

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] 2012-07-08 19:32:19 UTC ---
During testing of the API for "setitem", this was what I found and it seems to
reproduce.

http://localhost/repo/api.php?action=wbsetitem&data={%22labels%22:{%22en%22:%22foo%22,%22nn%22:%22bar%22},%22descriptions%22:{%22en%22:%22This%20is%20foo%22,%20%22nn%22:%22Dette%20er%20bar%22}}&format=jsonfm

Note the "id" and do something like this (I used "9" in this case)

http://localhost/repo/api.php?action=wbgetitems&ids=9&format=jsonfm

Description and labels are now correctly set for "en" and "nn". Open up the
browser for the page "Data:Q9" by accessing it with the "uselang=nn" parameter.

http://localhost/repo/index.php?title=Data:Q9&uselang=nn

The label is correct for "nn", while the description comes from "en". Reloading
with "action=purge" it will be correct as Danny said

localhost/repo/index.php?title=Data:Q10&uselang=nn&action=purge

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to