r66464 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66463‎ | r66464 | r66465 >
Date:11:07, 15 May 2010
Author:reedy
Status:ok
Tags:
Comment:
Minor part of bug 23473 - For the top level ApiMain/ApiQuery modules, note that module help is available before

Minor comment tweak to ApiQueryIWLinks
Modified paths:
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQuery.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryIWLinks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuery.php
@@ -568,9 +568,9 @@
569569
570570 public function getParamDescription() {
571571 return array(
572 - 'prop' => 'Which properties to get for the titles/revisions/pageids',
573 - 'list' => 'Which lists to get',
574 - 'meta' => 'Which metadata to get about the site',
 572+ 'prop' => 'Which properties to get for the titles/revisions/pageids. Module help is available below',
 573+ 'list' => 'Which lists to get. Module help is available below',
 574+ 'meta' => 'Which metadata to get about the site. Module help is available below',
575575 'generator' => array( 'Use the output of a list as the input for other prop/list/meta items',
576576 'NOTE: generator parameter names must be prefixed with a \'g\', see examples' ),
577577 'redirects' => 'Automatically resolve redirects',
Index: trunk/phase3/includes/api/ApiQueryIWLinks.php
@@ -30,7 +30,7 @@
3131 }
3232
3333 /**
34 - * A query module to list all interwiki links
 34+ * A query module to list all interwiki links on a page
3535 *
3636 * @ingroup API
3737 */
Index: trunk/phase3/includes/api/ApiMain.php
@@ -607,7 +607,7 @@
608608 public function getParamDescription() {
609609 return array(
610610 'format' => 'The format of the output',
611 - 'action' => 'What action you would like to perform',
 611+ 'action' => 'What action you would like to perform. See below for module help',
612612 'version' => 'When showing help, include version for each module',
613613 'maxlag' => 'Maximum lag',
614614 'smaxage' => 'Set the s-maxage header to this many seconds. Errors are never cached',

Follow-up revisions

RevisionCommit summaryAuthorDate
r68482* (bug 23473) - Give description of properties on all modules...reedy19:36, 23 June 2010

Status & tagging log