gerritbot added a comment.
Change 293626 merged by jenkins-bot:
[pywikibot/core@master] Get thumburl information in FilePage()
https://gerrit.wikimedia.org/r/293626TASK DETAILhttps://phabricator.wikimedia.org/T137011EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences
gerritbot added a comment.Change 293626 had a related patch set uploaded (by Mpaa):
Add thumburl informations to FileInfo
https://gerrit.wikimedia.org/r/293626TASK DETAILhttps://phabricator.wikimedia.org/T137011EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:
Mpaa added a comment.See:
https://commons.wikimedia.org/w/api.php?action="">
iiprop=url and iiparam+iiurlwidth do the job.TASK DETAILhttps://phabricator.wikimedia.org/T137011EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MpaaCc: Mpaa, Aklapper, jayvdb, Zppix
Mpaa added a comment.
Note that fro multipage files, the following is available:
https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Stories_by_Foreign_Authors_%28French_II%29.djvu/page30-162px-Stories_by_Foreign_Authors_%28French_II%29.djvu.jpg
Note **page30** (it could be any pa
jayvdb added a comment.
The png are generated urls with options added by the requester; any px value
should work.
Agreed we should have a method to simplify this.
The Mediawiki component for this is called the image scaler iirc.
TASK DETAIL
https://phabricator.wikimedia.org/T13701