From: Roan Kattouw Date: Thu, 26 Mar 2009 13:01:53 +0000 (+0000) Subject: API: Add nosuchuser message to ApiBase::$messageMap X-Git-Tag: 1.31.0-rc.0~42345 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=5e7acff52b4e91f4f251365c95980105f419e5d7;p=lhc%2Fweb%2Fwiklou.git API: Add nosuchuser message to ApiBase::$messageMap --- 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"),