Addshore added a comment.

  We can probably catch the exception in EntityContentDataCodec::decodeRedirect 
and rethrow a MWContentSerializationException as is documented there.
  However im not sure if that will actually be handled further up the chain?
  EntityHandler::unserializeContent is documented as throwing a 
MWContentSerializationException but ContentHandler::unserializeContent is not.
  When we get to MWContentSerializationException though, perhaps this could be 
handled in WikiExporter for the dump?
  Not sure where exactly for the web request path though.

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

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

To: Addshore
Cc: Addshore, WMDE-leszek, Lucas_Werkmeister_WMDE, hashar, ArielGlenn, Nandana, 
Lahi, Gq86, GoranSMilovanovic, Lunewa, QZanden, LawExplorer, _jensen, 
rosalieper, Jonas, gnosygnu, Wikidata-bugs, aude, Lydia_Pintscher, 
Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to