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

       Web browser: ---
            Bug ID: 58606
           Summary: site info for extensions doesn't include git version
                    and date
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: sp...@wikimedia.org
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    cmcma...@wikimedia.org, roan.katt...@gmail.com,
                    s...@reedyboy.net
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to