Xqt added a comment.

  I made a patch in https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1061035
  
  This is a temporary solution. `FilePage.exists()` gives `True` if the file 
decription exists even there is no file at all but `file_is_shared()` fails 
with missing imageinfo exception. We should have a way to check for existing 
image.
  
  For this special case such files should be delinked instead of just skipped; 
see this example 
<https://commons.wikimedia.org/wiki/User_talk:%E3%81%A8%E3%81%82%E3%82%8B%E7%99%BD%E3%81%84%E7%8C%AB/Sandbox_2>.

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

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

To: Xqt
Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, Isabelladantes1983, 
Themindcoder, Adamm71, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, 
Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, 
Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, Viztor, CucyNoiD, Wenyi, Gaboe420, 
Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, 
JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to