Xqt added a comment.
In T391761#10736460 <https://phabricator.wikimedia.org/T391761#10736460>, @JJMC89 wrote: > $wgThumbnailSteps <https://www.mediawiki.org/wiki/Manual:$wgThumbnailSteps> was recently introduced and set <https://gerrit.wikimedia.org/g/operations/mediawiki-config/+/90530e53c387cbf340b5ac35b03a7bced91226b9/wmf-config/CommonSettings.php#2657>. > > $wgThumbnailSteps = [ 20, 40, 60, 120, 250, 330, 500, 960 ]; > > In all three cases, the smallest value >= requested size is 120, so the 120px thumb is received. Thank you for this catch. But this change is neither documented at https://www.mediawiki.org/wiki/API:Imageinfo nor has the "thumbwidth" and "thumbheight" result the right dimension of the returned thumbnail image. Any idea how to handle this issue with Pywikibot? TASK DETAIL https://phabricator.wikimedia.org/T391761 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: JJMC89, Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, Dvorapa, Altostratus, binbot, Avicennasis, Hannolans, mys_721tx, jayvdb, Masti, Alchimista, Krenair
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
