Page MenuHomePhabricator

IP Info accordion should show up on the Special:DeletedContributions
Closed, ResolvedPublic5 Estimated Story PointsFeature

Assigned To
Authored By
Prtksxna
Sep 24 2022, 5:43 AM

Description

from T309366: Investigate: IP info not shown when all IP's edits are deleted

Feature summary

  • The IP Info feature should show up on the DeletedContributions page
  • It should only show data if there are deleted contributions that the current user has access to see

screenshot-localhost_8080-2022.11.29-17_40_04.png (797×961 px, 198 KB)

Use case(s)

Notes

It may be helpful to see how the infobox is added to Special:Contributions.

General information:

Testing notes

  • It should be possible to test this on beta
  • This should work the same as the infobox on Special:Contributions
  • It's worth testing this all the different permission levels possible for IPInfo

NB: The feedback button and some other links, all added by the WikimediaMessages extension, don't show up on Special:DeletedContributions yet. This will be fixed by: T325214: Ensure WikimediaMessages links show up on IPInfo infobox on Special:DeletedContributions

Event Timeline

Tchanders set the point value for this task to 5.Nov 16 2022, 4:19 PM

Should we instrument this?

It make sense to have instrumentation for it. @Niharika, What do you think?

Hi, @Niharika, @Prtksxna, @Tchanders cc @TThoabala
with this patch https://phabricator.wikimedia.org/T318464, deleted edits are added in the Infobox (if admins, and if exist), linking to Special:DeletedContributions

Would it still make sense to have the Infobox on Special:DeletedContributions, then ?

If we are going forward with this patch, should the infobox also link to Special:DeletedContributions? (it would create a loop).

Thanks,
Anais

@TThoabala I see you've picked up this task, and @Cyndymediawiksim had also expressed interest in this task (discussed it with me last week). Would it be possible to discuss between you who should take it?

Hi, @Niharika, @Prtksxna, @Tchanders cc @TThoabala
with this patch https://phabricator.wikimedia.org/T318464, deleted edits are added in the Infobox (if admins, and if exist), linking to Special:DeletedContributions

Would it still make sense to have the Infobox on Special:DeletedContributions, then ?

Thanks for pointing this out @AGueyte! I think it will still be useful to have the infobox on Special:DeletedContributions

If we are going forward with this patch, should the infobox also link to Special:DeletedContributions? (it would create a loop).

Perhaps this could link to Special:Contributions instead?

Change 864791 had a related patch set uploaded (by Cyndywikime; author: Cyndywikime):

[mediawiki/extensions/IPInfo@master] IPInfo info box should show up on the Special:DeletedContributions

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

Change 864791 merged by jenkins-bot:

[mediawiki/extensions/IPInfo@master] Show IPInfo info box on Special:DeletedContributions

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

@Tchanders IpInfo box worked the same in Special:DeletedContributions, just like Special:Contributions except for one skin in MinervaNeue. The IPInfo does not open in Special:DeletedContributions but it does in Special:Contributions as seen in the screenshot below. All the other skins passed with full and basic rights for IPinfo.

Environment: Local
MacOS: 13.1
Browser: Chrome
Permissions tested:

  • Full
  • Basic
  • IPInfo Agreement

Fail
MinervaNeue: IPInfo box does not open on Full and Basic rights but it does in Special:Contributions. Also, the IPInfo agreement does not show up

T318463_IP Info accordion should show up on the Special-DeletedContributions.png (1×1 px, 134 KB)

Pass
Vector 2022: Full Rights

T318463_IP Info_ Special-DeletedContributions_Vector2022_full.png (991×1 px, 174 KB)

Vector 2022: Basic Rights

T318463_IP Info_ Special-DeletedContributions_Vector2022_basic.png (700×1 px, 146 KB)

Vector 2022: IPInfo agreement

T318463_IP Info_ Special-DeletedContributions_Vector2022_IPInfoNotChecked.png (866×1 px, 173 KB)

Monobook: Full Rights screenshot. Basic rights and IPInfo agreement is the same as Vector 2022 but in their respective skin

T318463_IP Info_ Special-DeletedContributions_Monobook_full.png (865×2 px, 233 KB)

Vector2010: Full Rights screenshot. Basic rights and IPInfo agreement is the same as Vector 2022 but in their respective skin

T318463_IP Info_ Special-DeletedContributions_Vector2010_full.png (982×2 px, 221 KB)

Timeless: Full Rights screenshot. Basic rights and IPInfo agreement is the same as Vector 2022 but in their respective skin

T318463_IP Info_ Special-DeletedContributions_Timeless_full.png (1×1 px, 220 KB)

Thanks for creating the task @Tchanders . There were no other issues that I came across besides that one so I'll now move this to Done. Thanks again!