matej_suchanek changed the subtype of this task from "Task" to "Feature 
Request".
matej_suchanek added a comment.


  I agree having a wrapper around `DataSite.save_claim` would be useful. I just 
disagree with the proposed solution. There is no point in adding this method to 
`MediaInfo` since `DataSite.save_claim` does not need the entity object at all.
  
  Fun fact: this should do the same:
  
    claim.changeRank(claim.rank, summary=summary, tags='BotSDC')
  
  I'm not suggesting it as a workaround since calling the site method makes 
more sense. But it demonstrates that making such wrapper is possible within the 
`Claim` class.

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

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

To: Multichill, matej_suchanek
Cc: pywikibot-bugs-list, Xqt, matej_suchanek, Aklapper, Multichill, mevo, 
PotsdamLamb, Jyoo1011, FRomeo_WMF, JohnsonLee01, SHEKH, Dijkstra, Khutuck, 
Nintendofan885, Zkhalido, Aram, Viztor, JKSTNK, Wenyi, Tbscho, KimKelting, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Fuzheado, mys_721tx, 
Daniel_Mietchen, jayvdb, Ricordisamoa, Lydia_Pintscher, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to