Last modified: 2013-12-10 03:34:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60217, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58217 - Provide siteinfo API for default thumbnail size
Provide siteinfo API for default thumbnail size
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-09 17:11 UTC by Erik Moeller
Modified: 2013-12-10 03:34 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Erik Moeller 2013-12-09 17:11:55 UTC
The default thumbnail size would be useful for Parsoid and possibly other wikitext renderers, but is not currently accessible through the API.
Comment 1 Brad Jorsch 2013-12-09 17:21:00 UTC
I think it would make more sense to be able to return the default values of all user preferences, not just thumbsize.

Although to make sense of the value for thumbsize (either the default or the value from a particular user's preferences) you also need to know the configuration of $wgThumbLimits and $wgImageLimits.
Comment 2 Erik Moeller 2013-12-09 17:32:59 UTC
Or all sitewide config variables that can also be obtained by external inspection of a public MediaWiki instance. ;-) But yeah, I agree that a less piecemeal approach is preferable.
Comment 3 Gerrit Notification Bot 2013-12-09 18:10:49 UTC
Change 100409 had a related patch set uploaded by Anomie:
API: Add image sizes and default user prefs to meta=siteinfo

https://gerrit.wikimedia.org/r/100409
Comment 4 James Forrester 2013-12-10 03:34:05 UTC
Patched and will go out in wmf7. Yay. :-)
Comment 5 Gerrit Notification Bot 2013-12-10 03:34:54 UTC
Change 100409 merged by jenkins-bot:
API: Add image sizes and default user prefs to meta=siteinfo

https://gerrit.wikimedia.org/r/100409

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links