r100347 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100346‎ | r100347 | r100348 >
Date:14:28, 20 October 2011
Author:hashar
Status:ok
Tags:
Comment:
(bug 31345) document API Revisions parameters as enum

Patch by Brad Jorsch.
Modified paths:
  • /trunk/phase3/CREDITS (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryRevisions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/CREDITS
@@ -11,6 +11,7 @@
1212 * Ashar Voultoiz
1313 * Brian Wolff
1414 * Bertrand Grondin
 15+* Brad Jorsch
1516 * Brion Vibber
1617 * Bryan Tong Minh
1718 * Chad Horohoe
Index: trunk/phase3/includes/api/ApiQueryRevisions.php
@@ -609,9 +609,9 @@
610610 'endid' => 'Stop revision enumeration on this revid (enum)',
611611 'start' => 'From which revision timestamp to start enumeration (enum)',
612612 'end' => 'Enumerate up to this timestamp (enum)',
613 - 'dir' => $this->getDirectionDescription( $p ),
614 - 'user' => 'Only include revisions made by user',
615 - 'excludeuser' => 'Exclude revisions made by user',
 613+ 'dir' => $this->getDirectionDescription( $p, ' (enum)' ),
 614+ 'user' => 'Only include revisions made by user (enum)',
 615+ 'excludeuser' => 'Exclude revisions made by user (enum)',
616616 'expandtemplates' => 'Expand templates in revision content',
617617 'generatexml' => 'Generate XML parse tree for revision content',
618618 'parse' => 'Parse revision content. For performance reasons if this option is used, rvlimit is enforced to 1.',

Follow-up revisions

RevisionCommit summaryAuthorDate
r100750REL1_18 MFT r98997, r99118, r99370, r99700, r100239, r100242, r100347, r10051...reedy21:51, 25 October 2011

Status & tagging log