Page MenuHomePhabricator

Exclude permanently blocked users from DiscussionTools' username suggestion list API results
Closed, ResolvedPublic

Description

  1. Open the reply tool
  2. Type '@' the start typing a username that is permanently blocked

Expected:
The username should never be suggested (unless you have typed in the full name), e.g. if there is a blocked user called User:Blocked_user and I type @blocked u, it should not suggest Blocked user

Users who have commented in the thread will still be suggested as those names are not fetched from the API.

Event Timeline

Change 735989 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/DiscussionTools@master] UsernameCompletion: Filter out users with indefinite sitewide blocks from API results

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

Change 735989 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] UsernameCompletion: Filter out users with indefinite sitewide blocks from API results

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

Change 736250 had a related patch set uploaded (by Bartosz Dziewoński; author: Esanders):

[mediawiki/extensions/DiscussionTools@wmf/1.38.0-wmf.6] UsernameCompletion: Filter out users with indefinite sitewide blocks from API results

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

Change 736250 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@wmf/1.38.0-wmf.6] UsernameCompletion: Filter out users with indefinite sitewide blocks from API results

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

Mentioned in SAL (#wikimedia-operations) [2021-11-02T17:59:32Z] <urbanecm@deploy1002> Synchronized php-1.38.0-wmf.6/extensions/DiscussionTools/modules/dt-ve/dt.ui.UsernameCompletionAction.js: 494af124b95e2eabff94fde79aed6b6f6f81feab: UsernameCompletion: Filter out users with indefinite sitewide blocks from API results (T294783) (duration: 00m 55s)

Esanders updated the task description. (Show Details)
Esanders updated the task description. (Show Details)
Esanders renamed this task from Exclude permanently blocked users from DiscussionTools' username suggestion list to Exclude permanently blocked users from DiscussionTools' username suggestion list API results.Nov 3 2021, 10:47 PM
Esanders updated the task description. (Show Details)