matej_suchanek created this task.
matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata, Story.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

This is the piece of code in question:

pywikibot/site.py
def changeClaimTarget(self, claim, snaktype='value', bot=True, summary=None):
  if claim.isReference or claim.isQualifier:
    raise NotImplementedError

This safeguard prevents invalid wbsetclaimvalue call. However, qualifiers should use wbsetqualifier and references should use wbsetreference.

These API modules require information that the current Pywikibot implementation cannot provide at the moment.


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

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

To: matej_suchanek
Cc: Aklapper, matej_suchanek, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to