Page MenuHomePhabricator

Conditionally show some GuidedTour steps on Special:Investigate
Closed, ResolvedPublic3 Estimated Story Points

Description

All GuidedTour steps are currently shown unconditionally, but the following steps only make sense in some situations:

  • How to block is only useful if the user has the right to block (discussed in T268152#7972989)
  • How to copy the table is only useful if the wiki has VisualEditor and RESTBase enabled

Event Timeline

Change 803309 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/CheckUser@master] Conditionally show block step in Special:Investigate GuidedTour

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

Tchanders set the point value for this task to 3.Jun 6 2022, 5:15 PM

Change 803309 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Conditionally show block step in Special:Investigate GuidedTour

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

dom_walden subscribed.

I have tested the GuidedTour in Special:Investigate in each of the below cases:

User has block rightsWiki has VE
yesyes
yesno
noyes
nono

I could go all the way from the start to the end of the tour and all the way from the end to the start and dismiss the tour at the end.

Test environment: local bare metal server CheckUser 2.5 (65391fb) 07:27, 13 June 2022, GuidedTour 2.0 (1cf4efc) 08:23, 30 May 2022.