Reedy added a project: MW-1.34-release.
Reedy added subscribers: mobrovac, daniel.
Reedy added a comment.


  It's caused by the fix for T221812: Some ApiQueryImageInfo queries 
consistently fail with a fatal BadMethodCallException from LocalFile.php 
<https://phabricator.wikimedia.org/T221812> in 
bdc6b4e378c6872a20f6fb5842f1a49961af91b4 
<https://phabricator.wikimedia.org/rMWbdc6b4e378c6872a20f6fb5842f1a49961af91b4> 
(only in 1.34 and newer)
  
  Reading the changelog...
  
    * In the response to queries that use 'prop=imageinfo', entries for
      non-existing files (indicated by the 'filemissing' field) now omit the
      following fields, since they are meaningless in this context:
      'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width',
      'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment',
      'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime',
      'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata',
      'mime', 'mediadtype', 'bitdepth'.
      Clients that process these fields should first check if 'filemissing' is
      set. Fields that are supported even if the file is missing include:
      'canonicaltitle', ''archivename' (deleted files only), 'descriptionurl',
      'descriptionshorturl'.
  
  It's clear #pywikibot <https://phabricator.wikimedia.org/tag/pywikibot/> 
needs an update for this use case.
  
  Though I don't completely agree with the change log of all these things being 
"meaningless in this context", especially if the UI is showing some of them...
  
  Even if the file is physically missing (due to whatever reason, corruption, 
deleted to save disk space), at least some of those entries still have value
  
  CC @daniel and @Mobrovac as author and reviewers

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

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

To: Reedy
Cc: daniel, mobrovac, pywikibot-bugs-list, Reedy, Aklapper, Fae, AndreasTraut, 
Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, 
WDoranWMF, holger.knust, EvanProdromou, Meekrab2012, joker88john, Viztor, 
DannyS712, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Jony, Versusxo, 
Majesticalreaper22, Amorymeltzer, Giuliamocci, Adrian1985, Cpaulf30, Af420, 
Darkminds3113, Bsandipan, Lordiis, Adik2382, RazeSoldier, Th3d3v1ls, Ramalepe, 
Liugev6, Tbscho, MayS, Sethakill, WSH1906, Lewizho99, Mdupont, JJMC89, 
Maathavan, dg711, Dvorapa, Poyekhali, Agabi10, Altostratus, Taiwania_Justo, 
Avicennasis, Pchelolo, Ixocactus, Wong128hk, mys_721tx, El_Grafo, Dinoguy1000, 
jayvdb, Dalba, Anomie, Masti, Alchimista, Steinsplitter, Rxy, Keegan, Legoktm, 
Tgr
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to