r57854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57853‎ | r57854 | r57855 >
Date:05:12, 17 October 2009
Author:aaron
Status:ok
Tags:
Comment:
merged r57852: new error code
Modified paths:
  • /branches/wmf-deployment/includes/api/ApiQueryWatchlist.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/api/ApiQueryWatchlist.php
@@ -61,7 +61,7 @@
6262 if (!is_null($params['owner']) && !is_null($params['token'])) {
6363 $user = User::newFromName($params['owner'],false);
6464 if( !$user->getId() ) {
65 - $this->dieUsage( 'Specified user does not exist' );
 65+ $this->dieUsage( 'Specified user does not exist', 'bad_wlowner' );
6666 }
6767 $token = $user->getOption('watchlisttoken');
6868 if ($token == '' || $token != $params['token']) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57852Follow up r57846: tack on an error codeaaron05:06, 17 October 2009

Status & tagging log