https://bugzilla.wikimedia.org/show_bug.cgi?id=47216
Web browser: ---
Bug ID: 47216
Summary: Enhancements to API query siteinfo skin information
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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:
1. 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.
2. 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
}
]
}
}
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l