From 90986d8533f7a4bc863fe252ba7649c5c53c66fb Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Tue, 1 May 2012 18:54:14 +0200 Subject: [PATCH] Explicitly specify that filename in filerevert is without namespace Change-Id: I9551b69cda6d9dce20a443a2a4b871afb7394593 --- includes/api/ApiFileRevert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.20.1