Add missing word to r89505
authorSam Reed <reedy@users.mediawiki.org>
Sun, 5 Jun 2011 15:12:38 +0000 (15:12 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 5 Jun 2011 15:12:38 +0000 (15:12 +0000)
includes/api/ApiMain.php
includes/api/ApiQueryImageInfo.php

index 4b8b530..1b9ae2f 100644 (file)
@@ -788,7 +788,7 @@ class ApiMain extends ApiBase {
                        '                       is still in active development, and may change at any time.',
                        '                       Make sure to monitor our mailing list for any updates',
                        '',
-                       'Erroneous requests:    When erroneous are sent to the API, a HTTP header will be sent',
+                       'Erroneous requests:    When erroneous requests are sent to the API, a HTTP header will be sent',
                        '                       with the key "MediaWiki-API-Error" and then both the value of the',
                        '                       header and the error code sent back will be set to the same value',
                        '',
index 9c9525d..f8152d4 100644 (file)
@@ -217,7 +217,7 @@ class ApiQueryImageInfo extends ApiQueryBase {
         * to know which handler, since handlers can make their own parameters.
         * @param File $image Image that params are for.
         * @param Array $thumbParams thumbnail parameters from getScale
-        * @param String String of otherParams (iiurlparam).
+        * @param String $otherParams of otherParams (iiurlparam).
         * @return Array of parameters for transform.
         */
        protected function mergeThumbParams ( $image, $thumbParams, $otherParams ) {