r69587 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69586‎ | r69587 | r69588 >
Date:09:24, 20 July 2010
Author:catrope
Status:ok (Comments)
Tags:
Comment:
Followup to r69237: clarify documentation to avoid confusion with title normalization, minor style tweak
Modified paths:
  • /trunk/phase3/includes/api/ApiQuery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuery.php
@@ -602,7 +602,7 @@
603603 'generator' => array( 'Use the output of a list as the input for other prop/list/meta items',
604604 'NOTE: generator parameter names must be prefixed with a \'g\', see examples' ),
605605 'redirects' => 'Automatically resolve redirects',
606 - 'converttitles' => 'Automatically convert titles to their canonical form',
 606+ 'converttitles' => "Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion.",
607607 'indexpageids' => 'Include an additional pageids section listing all returned page IDs',
608608 'export' => 'Export the current revisions of all given or generated pages',
609609 'exportnowrap' => 'Return the export XML without wrapping it in an XML result (same format as Special:Export). Can only be used with export',

Follow-up revisions

RevisionCommit summaryAuthorDate
r69588Followup to r69587: forgot to hit Save *facepalm*catrope09:26, 20 July 2010
r74201Per r69587 CR, mention which languages support variant conversion in the API ...catrope12:11, 3 October 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69237(bug 24296) Added converttitles parameter to convert titles to their canonica...btongminh11:53, 10 July 2010

Comments

#Comment by Simetrical (talk | contribs)   21:42, 21 July 2010

Maybe you could give examples of languages that support variant conversion, so people who have no idea what that is can say "Okay, probably doesn't apply to my language, who cares." It's rather jargony as-is, even given this is the API.

Status & tagging log