Index: trunk/phase3/includes/api/ApiParamInfo.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | $result = $this->getResult(); |
96 | 96 | $retval['classname'] = get_class($obj); |
97 | 97 | $retval['description'] = implode("\n", (array)$obj->getDescription()); |
98 | | - $retval['version'] = $obj->getVersion(); |
| 98 | + $retval['version'] = implode("\n", (array)$obj->getVersion()); |
99 | 99 | $retval['prefix'] = $obj->getModulePrefix(); |
100 | 100 | if($obj->isReadMode()) |
101 | 101 | $retval['readrights'] = ''; |
— | — | @@ -102,6 +102,8 @@ |
103 | 103 | $retval['writerights'] = ''; |
104 | 104 | if($obj->mustBePosted()) |
105 | 105 | $retval['mustbeposted'] = ''; |
| 106 | + if($obj instanceof ApiQueryGeneratorBase) |
| 107 | + $retval['generator'] = ''; |
106 | 108 | $allowedParams = $obj->getFinalParams(); |
107 | 109 | if(!is_array($allowedParams)) |
108 | 110 | return $retval; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -138,6 +138,7 @@ |
139 | 139 | * (bug 18731) Show correct SVN links for extension modules in api.php?version |
140 | 140 | * (bug 18730) Add version information to action=paraminfo output |
141 | 141 | * (bug 18743) Add ucprop=size to list=usercontribs |
| 142 | +* (bug 18749) Add generator flag to action=paraminfo output |
142 | 143 | |
143 | 144 | === Languages updated in 1.16 === |
144 | 145 | |