Index: trunk/phase3/includes/api/ApiQueryBase.php |
— | — | @@ -464,7 +464,7 @@ |
465 | 465 | |
466 | 466 | /** |
467 | 467 | * Overrides base class to prepend 'g' to every generator parameter |
468 | | - * @param $paramNames string Parameter name |
| 468 | + * @param $paramName string Parameter name |
469 | 469 | * @return string Prefixed parameter name |
470 | 470 | */ |
471 | 471 | public function encodeParamName( $paramName ) { |
Index: trunk/phase3/includes/api/ApiQueryImageInfo.php |
— | — | @@ -184,8 +184,12 @@ |
185 | 185 | |
186 | 186 | /** |
187 | 187 | * Get result information for an image revision |
188 | | - * @param File f The image |
189 | | - * @return array Result array |
| 188 | + * |
| 189 | + * @param $file File object |
| 190 | + * @param $prop Array of properties to get (in the keys) |
| 191 | + * @param $result ApiResult object |
| 192 | + * @param $scale Array containing 'width' and 'height' items, or null |
| 193 | + * @return Array: result array |
190 | 194 | */ |
191 | 195 | static function getInfo( $file, $prop, $result, $scale = null ) { |
192 | 196 | $vals = array(); |