From 5e7acff52b4e91f4f251365c95980105f419e5d7 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 26 Mar 2009 13:01:53 +0000 Subject: [PATCH] API: Add nosuchuser message to ApiBase::$messageMap --- includes/api/ApiBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 664d66cb47..701d47d13b 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -772,6 +772,7 @@ abstract class ApiBase { 'invalidtitle' => array('code' => 'invalidtitle', 'info' => "Bad title ``\$1''"), 'nosuchpageid' => array('code' => 'nosuchpageid', 'info' => "There is no page with ID \$1"), 'nosuchrevid' => array('code' => 'nosuchrevid', 'info' => "There is no revision with ID \$1"), + 'nosuchuser' => array('code' => 'nosuchuser', 'info' => "User ``\$1'' doesn't exist"), 'invaliduser' => array('code' => 'invaliduser', 'info' => "Invalid username ``\$1''"), 'invalidexpiry' => array('code' => 'invalidexpiry', 'info' => "Invalid expiry time ``\$1''"), 'pastexpiry' => array('code' => 'pastexpiry', 'info' => "Expiry time ``\$1'' is in the past"), -- 2.20.1