ParamDescriptions for ApiQueryRevisions were inconsistently starting with upper and...
authorSam Reed <reedy@users.mediawiki.org>
Sun, 31 Jan 2010 19:46:23 +0000 (19:46 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 31 Jan 2010 19:46:23 +0000 (19:46 +0000)
Normalise to Upper case (as per rest of API)

includes/api/ApiQueryRevisions.php

index 04713bc..7106641 100644 (file)
@@ -513,17 +513,17 @@ class ApiQueryRevisions extends ApiQueryBase {
        public function getParamDescription() {
                return array (
                        'prop' => 'Which properties to get for each revision.',
-                       'limit' => 'limit how many revisions will be returned (enum)',
-                       'startid' => 'from which revision id to start enumeration (enum)',
-                       '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' => 'direction of enumeration - towards "newer" or "older" revisions (enum)',
-                       'user' => 'only include revisions made by user',
-                       'excludeuser' => 'exclude revisions made by user',
-                       'expandtemplates' => 'expand templates in revision content',
-                       'generatexml' => 'generate XML parse tree for revision content',
-                       'section' => 'only retrieve the content of this section',
+                       'limit' => 'Limit how many revisions will be returned (enum)',
+                       'startid' => 'From which revision id to start enumeration (enum)',
+                       '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' => 'Direction of enumeration - towards "newer" or "older" revisions (enum)',
+                       'user' => 'Only include revisions made by user',
+                       'excludeuser' => 'Exclude revisions made by user',
+                       'expandtemplates' => 'Expand templates in revision content',
+                       'generatexml' => 'Generate XML parse tree for revision content',
+                       'section' => 'Only retrieve the content of this section',
                        'token' => 'Which tokens to obtain for each revision',
                        'continue' => 'When more results are available, use this to continue',
                        'diffto' => array( 'Revision ID to diff each revision to.',