Last modified: 2009-05-09 13:02:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20730, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18730 - make version available with action=paraminfo
make version available with action=paraminfo
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://translatewiki.net/w/api.php?ac...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-09 11:29 UTC by Umherirrender
Modified: 2009-05-09 13:02 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2009-05-09 11:29:17 UTC
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.
Comment 1 Niklas Laxström 2009-05-09 11:45:01 UTC
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
Comment 2 Roan Kattouw 2009-05-09 13:02:00 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links