https://bugzilla.wikimedia.org/show_bug.cgi?id=54428

--- Comment #6 from Brad Jorsch <[email protected]> ---
(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.

-- 
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

Reply via email to