| Index: branches/RL2/extensions/Gadgets/backend/LocalGadgetRepo.php |
| — | — | @@ -15,6 +15,7 @@ |
| 16 | 16 | parent::__construct( $options ); |
| 17 | 17 | |
| 18 | 18 | // TODO: define options |
| | 19 | + // FIXME if there are none, drop the mandatory param |
| 19 | 20 | } |
| 20 | 21 | |
| 21 | 22 | public function getGadgetNames() { |
| Index: branches/RL2/extensions/Gadgets/api/ApiQueryGadgets.php |
| — | — | @@ -211,7 +211,7 @@ |
| 212 | 212 | 'Get a list of gadgets belonging to caregory "foo":', |
| 213 | 213 | ' api.php?action=query&list=gadgets&gacategories=foo', |
| 214 | 214 | 'Get information about gadgets named "foo" and "bar":', |
| 215 | | - ' api.php?action=query&list=gadgets&ganames=foo|bar&gaprop=name|desc|category', |
| | 215 | + ' api.php?action=query&list=gadgets&ganames=foo|bar&gaprop=name|desc|metadata', |
| 216 | 216 | 'Get a list of gadgets enabled by current user:', |
| 217 | 217 | ' api.php?action=query&list=gadgets&gaenabledonly', |
| 218 | 218 | ); |