Fixed description for async parameter in upload module
authorPetr Onderka <gsvick@gmail.com>
Tue, 18 Dec 2012 19:38:04 +0000 (20:38 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 19 Dec 2012 15:48:01 +0000 (15:48 +0000)
The description was already present,
but it used incorrect syntax, so it didn't show.

Change-Id: I7522265362f019c73523125df182366dfd274be2

includes/api/ApiUpload.php

index 89eff2e..d68c515 100644 (file)
@@ -683,7 +683,7 @@ class ApiUpload extends ApiBase {
                        'offset' => 'Offset of chunk in bytes',
                        'filesize' => 'Filesize of entire upload',
 
-                       'async', 'Make potentially large file operations asynchronous when possible',
+                       'async' => 'Make potentially large file operations asynchronous when possible',
                        'asyncdownload' => 'Make fetching a URL asynchronous',
                        'leavemessage' => 'If asyncdownload is used, leave a message on the user talk page if finished',
                        'statuskey' => 'Fetch the upload status for this file key (upload by URL)',