matej_suchanek added a comment.

  The problem here is this validation happens both when deserializing and in 
custom code. When we finally refactor things (T186200 
<https://phabricator.wikimedia.org/T186200>), we may think about avoiding it 
during deserialization but keeping it in `Claim.setTarget`. Note that we don't 
validate e.g. existence of items or files, so we could also drop this 
validation and document that it should be the user who validates the input.

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

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

To: matej_suchanek
Cc: Multichill, Lokal_Profil, Xqt, matej_suchanek, Aklapper, ChongDae, 
pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, 
Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to