Page MenuHomePhabricator

make version available with action=paraminfo
Closed, ResolvedPublic

Description

To get Information about version and source files of a module it is necessary to parse action=help&version

I think, it is useful when paraminfo can also show this information (for requested modules) by appending &version to the query.

Thanks.


Version: unspecified
Severity: enhancement
URL: http://translatewiki.net/w/api.php?action=help&version

Details

Reference
bz18730

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:34 PM
bzimport set Reference to bz18730.

The linked url causes:
PHP Strict Standards: Non-static method ApiFormatFeedWrapper::getVersion() should not be called statically, assuming $this from incompatible context in /var/www/w/includes/api/ApiMain.php on line 656

(In reply to comment #0)

To get Information about version and source files of a module it is necessary
to parse action=help&version

I think, it is useful when paraminfo can also show this information (for
requested modules) by appending &version to the query.

Thanks.

Done in r50367. The output format may not be ideal, but breaking it down further is not really possible AFAIK.

(In reply to comment #1)

The linked url causes:
PHP Strict Standards: Non-static method ApiFormatFeedWrapper::getVersion()
should not be called statically, assuming $this from incompatible context in
/var/www/w/includes/api/ApiMain.php on line 656

Fixed in r50366 together with bug 18731.