Explicitly specify that filename in filerevert is without namespace
authorPetr Onderka <gsvick@gmail.com>
Tue, 1 May 2012 16:54:14 +0000 (18:54 +0200)
committerPetr Onderka <gsvick@gmail.com>
Tue, 1 May 2012 16:54:14 +0000 (18:54 +0200)
Change-Id: I9551b69cda6d9dce20a443a2a4b871afb7394593

includes/api/ApiFileRevert.php

index 7ef1da0..5ea2571 100644 (file)
@@ -133,7 +133,7 @@ class ApiFileRevert extends ApiBase {
 
        public function getParamDescription() {
                $params = array(
-                       'filename' => 'Target filename',
+                       'filename' => 'Target filename without the File: prefix',
                        'token' => 'Edit token. You can get one of these through prop=info',
                        'comment' => 'Upload comment',
                        'archivename' => 'Archive name of the revision to revert to',