From 1083d741dc98827ce4d1a1edd769744f6c6fa94f Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sun, 29 Mar 2009 16:40:31 +0000 Subject: [PATCH] Followup to r49013: forgot to commit ApiBase.php --- includes/api/ApiBase.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 701d47d13b..fc221bd63a 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -763,6 +763,10 @@ abstract class ApiBase { '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"), + 'userrights-no-interwiki' => array('code' => 'nointerwikiuserrights', 'info' => "You don't have permission to change user rights on other wikis"), + 'userrights-nodatabase' => array('code' => 'nosuchdatabase', 'info' => "Database ``\$1'' does not exist or is not local"), + 'nouserspecified' => array('code' => 'invaliduser', 'info' => "Invalid username ``\$1''"), + 'noname' => array('code' => 'invaliduser', 'info' => "Invalid username ``\$1''"), // API-specific messages 'readrequired' => array('code' => 'readapidenied', 'info' => "You need read permission to use this module"), -- 2.20.1