Krinkle added a comment. |
When editing a page in VisualEditor, I sometimes notice that the description (from Wikidata's pageterms API) is duplicated. I results in the following rendering:
F9586347: Screen Shot 2017-09-16 at 20.51.29.png
The joining by a single comma also looks odd, but is possibly a bug in VisualEditor (depending on whether or not this value is meant to be an array or not, if meant to be a string, then the silent conversion to string is to be expected).
Underlying query: https://en.wikipedia.org/w/api.php?action="">
{ "query": { "pages": { "1351345": { "pageid": 1351345, "ns": 0, "title": "Momo (food)",
"terms": { "description": [ "Nepalese and Indian cuisine originated in Nepal", "Nepalese and Indian cuisine originated in Nepal" ] } "contentmodel": "wikitext", "pagelanguage": "en", "pagelanguagehtmlcode": "en", "pagelanguagedir": "ltr", "touched": "2017-09-12T13:36:49Z", "lastrevid": 800270184, "length": 8406, "thumbnail": { "source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Momo_nepal.jpg/80px-Momo_nepal.jpg", "width": 80, "height": 58 }, "pageimage": "Momo_nepal.jpg" } } }, "batchcomplete": "" }
TASK DETAIL
EMAIL PREFERENCES
To: hoo, Krinkle
Cc: Krinkle, Ladsgroup, gerritbot, daniel, Smalyshev, jcrespo, aude, Aklapper, hoo, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, Mbch331
Cc: Krinkle, Ladsgroup, gerritbot, daniel, Smalyshev, jcrespo, aude, Aklapper, hoo, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs