Mbch331 created this task. Mbch331 added projects: Wikidata, Addwiki. Restricted Application added subscribers: Liuxinyu970226, Aklapper.
TASK DESCRIPTION I'm using Addwiki with my bot to update incorrect values for P2397 <https://phabricator.wikimedia.org/P2397>. Now I'm getting for a few items a strange error. The label of the item has a conflict with the item itself. While trying to update Q80958 <https://wikidata.org/wiki/Q80958> I get the following response from the API: {"error":{"code":"modification-failed","info":"Item [[Q80958|Q80958]] already has label \"\u05d1\u05d5\u05d8\u05e4\u05d5\u05d2\u05d5\" associated with language code he, using the same description text.","messages":[{"name":"wikibase-validator-label-with-description-conflict","parameters":["\u05d1\u05d5\u05d8\u05e4\u05d5\u05d2\u05d5","he","[[Q80958|Q80958]]"],"html":{"*":"Item Q80958 already has label \"\u05d1\u05d5\u05d8\u05e4\u05d5\u05d2\u05d5\" associated with language code he, using the same description text."}}],"*":"See https:\/\/www.wikidata.org\/w\/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https:\/\/lists.wikimedia.org\/mailman\/listinfo\/mediawiki-api-announce> for notice of API deprecations and breaking changes."},"servedby":"mw1228"} in /mnt/nfs/labstore-secondary-tools-project/ytcleaner/vendor/addwiki/mediawiki-api-base/src/MediawikiApi.php:374 I'm getting similar errors for Q80845 (fr label), Q38568 (pl label), Q80955 (he label), Q17479 (en label). I swapped the label and the alias for these items and then swapped them back using the web interface and don't run into issues then. TASK DETAIL https://phabricator.wikimedia.org/T243158 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mbch331 Cc: Aklapper, Liuxinyu970226, Mbch331, Ironie, darthmon_wmde, Jaygray0919, Nandana, Arch2all, Lahi, Gq86, dmaza, GoranSMilovanovic, DFelten, QZanden, LawExplorer, HakanIST, _jensen, rosalieper, Hannolans, Scott_WUaS, Samwilson, Wikidata-bugs, aude, Tpt, Addshore
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
