r48872 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48871‎ | r48872 | r48873 >
Date:13:01, 26 March 2009
Author:catrope
Status:ok
Tags:
Comment:
API: Add nosuchuser message to ApiBase::$messageMap
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -772,6 +772,7 @@
773773 'invalidtitle' => array('code' => 'invalidtitle', 'info' => "Bad title ``\$1''"),
774774 'nosuchpageid' => array('code' => 'nosuchpageid', 'info' => "There is no page with ID \$1"),
775775 'nosuchrevid' => array('code' => 'nosuchrevid', 'info' => "There is no revision with ID \$1"),
 776+ 'nosuchuser' => array('code' => 'nosuchuser', 'info' => "User ``\$1'' doesn't exist"),
776777 'invaliduser' => array('code' => 'invaliduser', 'info' => "Invalid username ``\$1''"),
777778 'invalidexpiry' => array('code' => 'invalidexpiry', 'info' => "Invalid expiry time ``\$1''"),
778779 'pastexpiry' => array('code' => 'pastexpiry', 'info' => "Expiry time ``\$1'' is in the past"),

Status & tagging log