Page MenuHomePhabricator

User Contributions endpoints: rename "name" parameter to "user"
Closed, ResolvedPublic

Description

The "name" param should be renamed to user as it could be a username, ip, range of ips, and "user" is more fitting.
Additionally, it is more accurate with the way the backend is structured. "name" as validated as a user object and should be named as such.

Event Timeline

nnikkhoui created this task.Aug 5 2020, 3:19 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 5 2020, 3:19 AM

Change 618429 had a related patch set uploaded (by Nikki Nikkhoui; owner: Nikki Nikkhoui):
[mediawiki/core@master] Rename "name" to user in UserContributions

https://gerrit.wikimedia.org/r/618429

Change 618429 merged by jenkins-bot:
[mediawiki/core@master] Rename "name" to user in UserContributions

https://gerrit.wikimedia.org/r/618429

nnikkhoui closed this task as Resolved.Mon, Aug 31, 5:17 PM