r50367 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50366‎ | r50367 | r50368 >
Date:13:00, 9 May 2009
Author:catrope
Status:ok
Tags:
Comment:
API: (bug 18730) Add version information to action=paraminfo output
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiParamInfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiParamInfo.php
@@ -94,6 +94,7 @@
9595 $result = $this->getResult();
9696 $retval['classname'] = get_class($obj);
9797 $retval['description'] = implode("\n", (array)$obj->getDescription());
 98+ $retval['version'] = $obj->getVersion();
9899 $retval['prefix'] = $obj->getModulePrefix();
99100 if($obj->isReadMode())
100101 $retval['readrights'] = '';
Index: trunk/phase3/RELEASE-NOTES
@@ -138,6 +138,7 @@
139139 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
140140 output
141141 * (bug 18731) Show correct SVN links for extension modules in api.php?version
 142+* (bug 18730) Add version information to action=paraminfo output
142143
143144 === Languages updated in 1.16 ===
144145

Follow-up revisions

RevisionCommit summaryAuthorDate
r50425API: (bug 18749) Add generator flag to action=paraminfo output. Also fixes an...catrope09:52, 10 May 2009

Status & tagging log