Special:Version on some wikis includes the date and hash of an extension from its git repository, e.g. https://wikitech.wikimedia.org/wiki/Special:Version
But the siteinfo API query for extensions does not return this information,
e.g. https://wikitech.wikimedia.org/w/api.php?action=query&meta=siteinfo&siprop=extensions
It would be nice if siteinfo provided this info. One use case is finding out the version of an extension that a wiki is running, so remote browsertests can run matching code.
The code is in SpecialVersion::getVersionLinkedGit() but it's not factored well for reuse (returns a string). Maybe GitInfo.php should provide this information to callers.
Version: unspecified
Severity: normal