Index: branches/wmf-deployment/includes/api/ApiQueryWatchlist.php |
— | — | @@ -61,7 +61,7 @@ |
62 | 62 | if (!is_null($params['owner']) && !is_null($params['token'])) { |
63 | 63 | $user = User::newFromName($params['owner'],false); |
64 | 64 | if( !$user->getId() ) { |
65 | | - $this->dieUsage( 'Specified user does not exist' ); |
| 65 | + $this->dieUsage( 'Specified user does not exist', 'bad_wlowner' ); |
66 | 66 | } |
67 | 67 | $token = $user->getOption('watchlisttoken'); |
68 | 68 | if ($token == '' || $token != $params['token']) { |