From: Petr Onderka Date: Tue, 1 May 2012 16:54:14 +0000 (+0200) Subject: Explicitly specify that filename in filerevert is without namespace X-Git-Tag: 1.31.0-rc.0~23766^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/supprimer.php?a=commitdiff_plain;h=90986d8533f7a4bc863fe252ba7649c5c53c66fb;p=lhc%2Fweb%2Fwiklou.git Explicitly specify that filename in filerevert is without namespace Change-Id: I9551b69cda6d9dce20a443a2a4b871afb7394593 --- diff --git a/includes/api/ApiFileRevert.php b/includes/api/ApiFileRevert.php index 7ef1da0af1..5ea257160e 100644 --- a/includes/api/ApiFileRevert.php +++ b/includes/api/ApiFileRevert.php @@ -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',