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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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