Page MenuHomePhabricator

GlobalContributions: Add links from Special:Contributions, Special:DeletedContributions and Special:IPContributions
Closed, ResolvedPublic

Assigned To
Authored By
Tchanders
Jan 17 2025, 2:26 PM
Referenced Files
F58270974: image.png
Jan 25 2025, 8:11 AM
F58270968: image.png
Jan 25 2025, 8:11 AM
F58271039: image.png
Jan 25 2025, 8:11 AM
F58271053: image.png
Jan 25 2025, 8:11 AM
F58024614: image.png
Jan 23 2025, 11:51 AM
F58024622: image.png
Jan 17 2025, 2:26 PM
F58024580: image.png
Jan 17 2025, 2:26 PM

Description

Background

As part of T380375: [Epic] Discovery for GlobalContributions feature, we need to add links to Special:GlobalContributions from Special:Contributions, Special:DeletedContributions and Special:IPContributions.

Page/componentMockup
Special:Contributions
image.png (510×1 px, 121 KB)
Special:DeletedContributions
image.png (314×1 px, 100 KB)
Special:IPContributions
image.png (494×2 px, 124 KB)

Acceptance criteria

  • When Special:Contributions, Special:DeletedContributions or Special:IPContributions has a target, a link is added that points to Special:GlobalContributions for that target.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tchanders renamed this task from GlobalContributions: Add links from Special:Contributions and Special:DeletedContributions to GlobalContributions: Add links from Special:Contributions, Special:DeletedContributions and Special:IPContributions.Jan 23 2025, 11:51 AM
Tchanders updated the task description. (Show Details)
Tchanders attached a referenced file: F58024614: image.png. (Show Details)

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

[mediawiki/extensions/CheckUser@master] Link to Special:GlobalContributions from other contributions pages

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

Change #1113815 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Link to Special:GlobalContributions from other contributions pages

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

Djackson-ctr subscribed.

QA is completed, I have verified the new code has been implemented and is functioning as expected (Global Contributions link is displaying on the results page for Special:Contributions, Special:DeletedContributions, and Special:IPContributions).

image.png (204×1 px, 37 KB)

image.png (235×1 px, 31 KB)

image.png (244×1 px, 31 KB)

image.png (172×1 px, 26 KB)

Apologies if I’m missing anything, but I just wanted to check if this was working as intended — at present, the link appears for me at (e.g.) https://www.mediawiki.org/wiki/special:contributions/a_smart_kitten, but clicking it takes me to a "No such special page" message.

Thanks @A_smart_kitten - looks like this isn't redirecting to the central wiki, which is where Special:GlobalContributions is enabled. Reopening the task.

Just checked into this, and the problem is that Special:GlobalContributions doesn't exist on a wiki where temp accounts is not enabled/known, which is the case for mediawiki.org. The nonexistent page error is encountered before there is a chance to redirect to a central wiki.

I've filed a separate task for this, and am closing this task again: T385086: GlobalContributions: Ensure that the link from the sidebar and other contributions pages always leads to the central wiki