From 71c4454be977d80f9371cba275a8eaba9587ad13 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Mon, 22 Aug 2016 14:22:12 -0400 Subject: [PATCH] API: Don't require 'users' parameter to contain all valid usernames Instead, go back to validating the individual values so one invalid name doesn't cause the whole module to error out. The code for that was all still there, just unused since Ic67fb540. Bug: T142895 Change-Id: Ia5eae51d69185580ac2c772afc198a92813e407a --- includes/api/ApiQueryUsers.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index cfc1e4662f..9b45b91923 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -328,7 +328,6 @@ class ApiQueryUsers extends ApiQueryBase { ], 'attachedwiki' => null, 'users' => [ - ApiBase::PARAM_TYPE => 'user', ApiBase::PARAM_ISMULTI => true ], 'token' => [ -- 2.20.1