Page MenuHomePhabricator

Provide siteinfo API for default thumbnail size
Closed, ResolvedPublic


The default thumbnail size would be useful for Parsoid and possibly other wikitext renderers, but is not currently accessible through the API.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:34 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz58217.
Eloquence created this task.Dec 9 2013, 5:11 PM
Anomie added a comment.Dec 9 2013, 5:21 PM

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.

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.

Change 100409 had a related patch set uploaded by Anomie:
API: Add image sizes and default user prefs to meta=siteinfo

Patched and will go out in wmf7. Yay. :-)

Change 100409 merged by jenkins-bot:
API: Add image sizes and default user prefs to meta=siteinfo