I'm building a lot of MediaWiki statistics and usage information on WikiApiary (http://wikiapiary.com/). It collects information via API, including Skin information (http://wikiapiary.com/wiki/Skin:Main_Page) and it would be really useful to have some additional information in this API method.
http://wikiapiary.com/w/api.php?action=query&meta=siteinfo&siprop=skins&format=json
This currently just displays the list of installed skins. My suggestions:
- Add a field to the result to indicate a skin is installed but is skipped via $wgSkipSkins. Currently skipping a skin in LocalSettings doesn't seem to affect the result of this API call.
- Add a field to the result to indicate a skin is set to the default via $wgDefaultSkin.
The result would then look something like (for JSON):
{
"query": {
"skins": [
{
"*": "Standard",
"code": "standard",
"skip": true
},
{
"*": "Nostalgia",
"code": "nostalgia",
"skip": true
},
{
"*": "MonoBook",
"code": "monobook"
},
{
"*": "Vector",
"code": "vector",
"default": true
}
]
}}
Version: 1.22.0
Severity: enhancement