Index: trunk/extensions/Contest/api/ApiQueryContests.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | * @see includes/api/ApiBase#getDescription() |
125 | 125 | */ |
126 | 126 | public function getDescription() { |
127 | | - return 'API module for obatining survey answers'; |
| 127 | + return 'API module for querying contests'; |
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |
— | — | @@ -141,7 +141,8 @@ |
142 | 142 | */ |
143 | 143 | protected function getExamples() { |
144 | 144 | return array ( |
145 | | - 'api.php?action=query&list=contests&', |
| 145 | + 'api.php?action=query&list=contests&props=id|name', |
| 146 | + 'api.php?action=query&list=contests&costatus=1', |
146 | 147 | ); |
147 | 148 | } |
148 | 149 | |