Magnus created this task.
Magnus added projects: Wikidata, MediaWiki-API.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

A bot of mine creates new items for WikiSpecies pages that have no item. Since a few days (maybe a week or two?), I get an error message:

Caught exception for wbeditentity/0: Could not find a sitelink to "specieswiki" when trying to edit badges.

This seems to be due to me passing an empty "badges" array, together with "site" and "value" for the sitelink. The error is new, it definitely wasn't there for the last few months.
However, if I do not pass the empty "badges" array, the item is created, but the sitelink is silently dropped. Example edit:
https://www.wikidata.org/w/index.php?title=Q27242555&oldid=387998735

Please either restore the previous behaviour, or accept sitelinks without a "badges" array.


TASK DETAIL
https://phabricator.wikimedia.org/T148040

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Magnus
Cc: Magnus, Aklapper, Sethakill, dg711, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Anomie, Mbch331, Legoktm
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to