Page MenuHomePhabricator

Remove contribution menu entrypoint from Vector(old) skin and support only Vector-2022 skin.
Closed, ResolvedPublic4 Estimated Story Points

Description

I propose we remove the callout contribution menu from old vector theme entrypoint. This entry point is a hover menu(callout) on contributions.

image.png (178×219 px, 11 KB)

(You can try this by visiting an article with old vector skin - example: https://en.wikipedia.org/wiki/James_Webb_Space_Telescope?useskin=vector)
There is also a feature discovery feature(blue pulse) when user did not activate CX yet.

An added complexity also exist. When a user is shown this feature discover pulse, the menu does not appear. The menu hover does not work,but when you click on contributions link, a dialog is shown as given in screenshot.

image.png (380×370 px, 29 KB)

Then in that page, if I click on VE edit, the dialog should disappear and the menu with 3 contribution options should appear.

I visited this part of code while attempting to use new VE hook system(T390074). But I strongly prefer removing all of these features from vector(old) skin.
We support inline Translation menu in Vector-2022 skin and I think that is sufficient.

There is no benefit from keeping this jquery based custom menu and dialogs that does not match with Codex or design system.

Event Timeline

Change #1139792 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] Remove contributionsmenu entrypoint from old vector skin

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

Coming from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ContentTranslation/+/1139964, shouldn't this also remove the entrypoint from Monobook – update, now checking the patch I see it does remove the functionality complete. That seems reasonable and good to me.

Change #1139792 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] Remove contributionmenu from old vector skin

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

Nikerabbit set the point value for this task to 4.
Nikerabbit changed the task status from Open to In Progress.May 12 2025, 7:16 AM

Change #1139792 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Remove contributionmenu from old vector skin

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