From 7babbd2fc5e71e2c6483530c829213970cd3cf9e Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 29 Jan 2009 23:01:13 +0000 Subject: [PATCH] Add the 'movenotallowedfile' message to the API message map. Turns out that's all I needed to do to support file moving through the API :D --- includes/api/ApiBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index c12b1e79af..1bc86382dd 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -701,6 +701,7 @@ abstract class ApiBase { 'rcpatroldisabled' => array('code' => 'patroldisabled', 'info' => "Patrolling is disabled on this wiki"), 'markedaspatrollederror-noautopatrol' => array('code' => 'noautopatrol', 'info' => "You don't have permission to patrol your own changes"), 'delete-toobig' => array('code' => 'bigdelete', 'info' => "You can't delete this page because it has more than \$1 revisions"), + 'movenotallowedfile' => array('code' => 'cantmovefile', 'info' => "You don't have permission to move files"), // API-specific messages 'missingparam' => array('code' => 'no$1', 'info' => "The \$1 parameter must be set"), -- 2.20.1