Page MenuHomePhabricator

UserInfoCard: Define preference for showing the UserInfo button
Closed, ResolvedPublic

Description

Summary

Add a preference, checkuser-userinfocard-enable, that determines whether the UserInfo button is displayed next to account names.

Technical notes

  • The default should be false

Acceptance criteria

  • A preference exists for controlling whether the UserInfo button appears next to usernames

Event Timeline

kostajh updated the task description. (Show Details)

Change #1141540 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] UserInfoCard: Add preference for toggling the feature

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

@KColeman-WMF I've placed the preference for this under the "Appearance" tab in Special:Preferences, with this wording:

image.png (1,460×576 px, 92 KB)

The link goes to https://www.mediawiki.org/wiki/Help:Extension:CheckUser#UserInfoCard (which is not yet created).

Does this sound OK?

Change #1141540 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UserInfoCard: Add preference for toggling the feature

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

@KColeman-WMF I've placed the preference for this under the "Appearance" tab in Special:Preferences, with this wording:

image.png (1,460×576 px, 92 KB)

The link goes to https://www.mediawiki.org/wiki/Help:Extension:CheckUser#UserInfoCard (which is not yet created).

Does this sound OK?

That seems fine to me, my only question is whether this should be deployed as a beta feature given that it's intended as an experiment? I am still unclear about how exactly we intend to deploy and test it?

@KColeman-WMF I've placed the preference for this under the "Appearance" tab in Special:Preferences, with this wording:

image.png (1,460×576 px, 92 KB)

The link goes to https://www.mediawiki.org/wiki/Help:Extension:CheckUser#UserInfoCard (which is not yet created).

Does this sound OK?

That seems fine to me, my only question is whether this should be deployed as a beta feature given that it's intended as an experiment? I am still unclear about how exactly we intend to deploy and test it?

I'd prefer to avoid BetaFeatures integration as it adds some more complexity (and prevents globally enabling). We can work out the deploy/testing in T386439: [Epic] UserInfoCard: Rollout and metrics monitoring.

I'd prefer to avoid BetaFeatures integration as it adds some more complexity (and prevents globally enabling). We can work out the deploy/testing in T386439: [Epic] UserInfoCard: Rollout and metrics monitoring.

Okay, let's keep the preference under the "Appearance" tab as suggested.

Change #1143947 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] UserInfoCard: Hide the preference from Special:Preferences

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

Change #1143947 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UserInfoCard: Hide the preference from Special:Preferences

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