Last modified: 2013-10-04 22:18:58 UTC
The information in the bug 54426 should be exposed in an API call to the wiki that is making the call. This information might be added to meta=siteinfo.
Can you be more specific in this bug, please?
(In reply to comment #1) > Can you be more specific in this bug, please? * Logo URL * A single line description (tagline) for the wiki * Perhaps a longer description of what the wiki is intended for what is needed.
(In reply to comment #2) > * Logo URL This should be trivial. > * A single line description (tagline) for the wiki I suppose we can use the value of [[MediaWiki:Tagline]] for this. But I imagine most wikis won't have customized this message. > * Perhaps a longer description of what the wiki is intended for what is > needed. What do you propose to use for this?
Bug 54426 is requesting an extension. That extension should provide its API calls, not core.
(In reply to comment #4) > Bug 54426 is requesting an extension. That extension should provide its API > calls, not core. I meant the information being sent to the ping server (Comments 1,2,3 in bug 54426) should be made available via the API.
(In reply to comment #5) > I meant the information being sent to the ping server (Comments 1,2,3 in bug > 54426) should be made available via the API. You really should list what you're actually requesting here. "Logo URL" could well be added to siteinfo. If by "A single line description (tagline) for the wiki" you mean MediaWiki:Tagline, then that's already available: https://en.wikipedia.org/w/api.php?action=query&meta=allmessages&ammessages=Tagline. If you mean something else, then as far as I know it doesn't actually exist in core which makes it impossible to be added to the API in core. "Perhaps a longer description" also suffers from the "does not actually exist" problem, and so also cannot be added. As for "URL for wiki", if you're accessing the API you probably already know it. But just in case, it's easy enough to determine from the 'articlepath' and other variables returned by https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo. For "Wiki name", that's also in https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo as 'sitename'. "Version being installed" doesn't make any sense in the API, since the wiki is already installed. But if you want the version currently running, that's also in https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo as 'generator' and possibly also 'git-hash'. "Activated extensions" is already available as https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=extensions.
Change 85846 had a related patch set uploaded by Anomie: API: Add output of wgLogo to meta=siteinfo https://gerrit.wikimedia.org/r/85846
Change 85846 merged by jenkins-bot: API: Add output of wgLogo to meta=siteinfo https://gerrit.wikimedia.org/r/85846
Since the one actually-existing item that was missing has now been added, I'm marking this RESOLVED.
(In reply to comment #6) > "Perhaps a longer description" also suffers from the "does not actually > exist" problem, and so also cannot be added. I guess I need to add create a bug for this that depends on bug #54431.