API: (bug 18730) Add version information to action=paraminfo output
This commit is contained in:
parent
91271d809e
commit
560365d615
2 changed files with 2 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 18709) Missing descriptions for some parameters in action=paraminfo
|
||||
output
|
||||
* (bug 18731) Show correct SVN links for extension modules in api.php?version
|
||||
* (bug 18730) Add version information to action=paraminfo output
|
||||
|
||||
=== Languages updated in 1.16 ===
|
||||
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ class ApiParamInfo extends ApiBase {
|
|||
$result = $this->getResult();
|
||||
$retval['classname'] = get_class($obj);
|
||||
$retval['description'] = implode("\n", (array)$obj->getDescription());
|
||||
$retval['version'] = $obj->getVersion();
|
||||
$retval['prefix'] = $obj->getModulePrefix();
|
||||
if($obj->isReadMode())
|
||||
$retval['readrights'] = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue