(bug 31345) document API Revisions parameters as enum

Patch by Brad Jorsch.
This commit is contained in:
Antoine Musso 2011-10-20 14:28:41 +00:00
parent 2a5c29ace7
commit 95027be62c
2 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,7 @@ following names for their contribution to the product.
* Ashar Voultoiz
* Brian Wolff
* Bertrand Grondin
* Brad Jorsch
* Brion Vibber
* Bryan Tong Minh
* Chad Horohoe

View file

@ -609,9 +609,9 @@ class ApiQueryRevisions extends ApiQueryBase {
'endid' => 'Stop revision enumeration on this revid (enum)',
'start' => 'From which revision timestamp to start enumeration (enum)',
'end' => 'Enumerate up to this timestamp (enum)',
'dir' => $this->getDirectionDescription( $p ),
'user' => 'Only include revisions made by user',
'excludeuser' => 'Exclude revisions made by user',
'dir' => $this->getDirectionDescription( $p, ' (enum)' ),
'user' => 'Only include revisions made by user (enum)',
'excludeuser' => 'Exclude revisions made by user (enum)',
'expandtemplates' => 'Expand templates in revision content',
'generatexml' => 'Generate XML parse tree for revision content',
'parse' => 'Parse revision content. For performance reasons if this option is used, rvlimit is enforced to 1.',