Page MenuHomePhabricator

api.php?action=query&meta=siteinfo&siprop=extensions should print extension last commit information
Closed, ResolvedPublic

Description

+++ This bug was initially created as a clone of Bug #38783 +++

Comment 68, from Jamie Thingelstad:

"I realize this commit has already been merged in, but it would be really nice
if this information were also exposed in the API call for extensions

api.php?action=query&meta=siteinfo&siprop=extensions"


Version: 1.22.0
Severity: enhancement

Details

Reference
bz48418

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz48418.

Most excellent Dereckson, thank you for creating this. When available, I can add this to the information I collect and display on WikiApiary for extensions.

http://wikiapiary.com/wiki/Extension:Main_Page

mwalker wrote:

Hurm... I guess the gerrit bot isn't on today or something: https://gerrit.wikimedia.org/r/#/c/65299/

This is awesome — thanks Matt!

(In reply to comment #2)

Hurm... I guess the gerrit bot isn't on today or something:
https://gerrit.wikimedia.org/r/#/c/65299/

The patch seems to do way more than what in summary?

mwalker wrote:

(In reply to comment #4)

(In reply to comment #2)
> Hurm... I guess the gerrit bot isn't on today or something:
> https://gerrit.wikimedia.org/r/#/c/65299/

The patch seems to do way more than what in summary?

Than in the summary of this bug? Yes -- I wrote the feature first and then discovered there were bugs for it.

(In reply to comment #5)

Than in the summary of this bug? Yes -- I wrote the feature first and then
discovered there were bugs for it.

So perhaps the bug should be moved to another component and renamed? Or the patch adjusted to "only" add to the API.

I could do a lot to help people that run MediaWiki if we can even just get the git-hash into the API. So, still hoping to see this get out.

Any update on this patch? It would be stunning to see this get integrated into the API.

[Bumping TM as MediaWiki 1.22.0 tarball was released today.]

Mark, do we have a tracking bug, wiki wishlist or anything where to list features like this which would help us support third party wikis and release compatibility?

  • Bug 58606 has been marked as a duplicate of this bug. ***

Change 65299 merged by jenkins-bot:
Add licensing for extensions to Special:Version

https://gerrit.wikimedia.org/r/65299

This has now been merged.

I didn't notice this until it became a fait accompli, but I was wondering, what purpose does it serve to have the license appear in Special:Version? Is that because some licenses might require it?

This is awesome to have the vcs-* fields now in the API thanks! It would be great to have the new license information in this as well. I created bug 59655 for that.