Multichill added a comment.

  In T268645#6645735 <https://phabricator.wikimedia.org/T268645#6645735>, @Xqt 
wrote:
  
  > Looks like it is the same as T192912 
<https://phabricator.wikimedia.org/T192912>
  >
  > Due to
  >
  >   if code == 'failed-save' and \
  >      self.action == 'wbeditentity' and \
  >      self._is_wikibase_error_retryable(result['error']):
  >       self.wait()
  >       continue
  >
  > it seems that action is not `'wbeditentity'`; any idea what it was?
  
  Either 
https://www.wikidata.org/w/api.php?action=help&recursivesubmodules=1#wbcreateclaim
 or 
https://www.wikidata.org/w/api.php?action=help&recursivesubmodules=1#wbsetqualifier
 I think.
  We have a whole list of possible Wikibase actions that trigger a write. If I 
look at self.write = self.action in {....] that seems to be quite complete. 
Maybe in the start of the init define a list of normal write actions and a list 
of wbwrite actions and update both checks to use these lists? First check would 
use both lists and the code you pasted the wikibase list.

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

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

To: Multichill
Cc: Aklapper, pywikibot-bugs-list, Multichill, Xqt, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Akuckartz, Zkhalido, Viztor, Nandana, Wenyi, Lahi, Gq86, 
GoranSMilovanovic, QZanden, Tbscho, MayS, LawExplorer, Mdupont, JJMC89, 
Dvorapa, _jensen, rosalieper, Altostratus, Avicennasis, Scott_WUaS, mys_721tx, 
Wikidata-bugs, aude, jayvdb, Masti, Alchimista, Mbch331, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to