See http://www.wikidata.org/wiki/MediaWiki_talk:Gadget-Merge.js#aliases_get_removed
When making a request which should in effect be a null edit aliases actually get removed
Version: unspecified
Severity: critical
See http://www.wikidata.org/wiki/MediaWiki_talk:Gadget-Merge.js#aliases_get_removed
When making a request which should in effect be a null edit aliases actually get removed
Version: unspecified
Severity: critical
After looking a bit further into this it seems 2 out of 4 aliases were removed
Admète (Homonymie) , Admete (homonymie) => Admete (homonymie)
Adméta , Admete => Admete
Something to do with the utf8 chars?
To reproduce:
var data = JSON.parse(wbEntity);
data.id = undefined;
data.type = undefined;
data.claims = undefined;
new mw.Api().post({
action: 'wbeditentity', id: wbEntityId, data: JSON.stringify(data), token: mw.user.tokens.get('editToken'), summary: ''
}).always(function (m, d) { console.log(m, d); })
This should be a null edit but instead removes the 2 aliases listed above.
nzmoihue wrote:
http://www.wikidata.org/w/index.php?title=Q192439&diff=prev&oldid=55263560 this is more interesting. With this bug every API call to wbeditentity is going to a data loss on Wikidata but...
Change 73204 had a related patch set uploaded by Aude:
(bug 50983) Fix set aliases in EditEntity api module
Change 73204 merged by Addshore:
(bug 50983) Fix set aliases in EditEntity api module
Change 73322 had a related patch set uploaded by Aude:
(bug 50983) Fix set aliases in EditEntity api module
Change 73322 merged by Addshore:
(bug 50983) Fix set aliases in EditEntity api module