r98968 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98967‎ | r98968 | r98969 >
Date:01:31, 5 October 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
follow up to r98967
Modified paths:
  • /trunk/extensions/Contest/api/ApiQueryContests.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/api/ApiQueryContests.php
@@ -123,7 +123,7 @@
124124 * @see includes/api/ApiBase#getDescription()
125125 */
126126 public function getDescription() {
127 - return 'API module for obatining survey answers';
 127+ return 'API module for querying contests';
128128 }
129129
130130 /**
@@ -141,7 +141,8 @@
142142 */
143143 protected function getExamples() {
144144 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',
146147 );
147148 }
148149

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98967added API module to query contestsjeroendedauw01:28, 5 October 2011

Status & tagging log