Page MenuHomePhabricator

[subtask] Remove Special:MobileLanguages code from MobileFrontend
Closed, ResolvedPublicBUG REPORT

Description

In T326829 we decided to include languages in the body of the Minerva skin (T331905).
Upon completion of T331905 we will be able to remove the special page and optimize the existing experience (T331908)

TODO

QA

When visiting Special:MobileLanguages/Spain the page should redirect to Spain#p-lang and the languages should be displayed in the article.

QA Results - Beta

ACStatusDetails
1T331931#8726115

QA Results - Prod

ACStatusDetails
1T331931#8748116

Event Timeline

Change 898040 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/MobileFrontend@master] Drop Special:MobileLanguages

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

Jdlrobson renamed this task from Removed Special:MobileLanguages to Remove Special:MobileLanguages from MobileFrontend.Mar 13 2023, 11:20 PM

I suggest preserving a redirect. The page is publicly linked from 50% of production pageview traffic (i.e. most mobile artcles), contains actual navigable information (i.e. not empty, or personalised to current viewer), and isn't noindex'ed or otherwise rell=canonical'ised to a different URL.

"Special:MobileLanguages" can be found in search engines and is probably linked a fair bit on random sites and archives. Redirecting back to the article might be a minimal effort way to keep people interested and on-track with what they're likely looking for.

https://gerrit.wikimedia.org/r/898040 preserves the redirection. I've clarified this in the ticket.

Jdlrobson renamed this task from Remove Special:MobileLanguages from MobileFrontend to Remove Special:MobileLanguages code from MobileFrontend.Mar 14 2023, 10:08 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson renamed this task from Remove Special:MobileLanguages code from MobileFrontend to [subtask] Remove Special:MobileLanguages code from MobileFrontend.Mar 20 2023, 10:04 PM
Jdlrobson lowered the priority of this task from High to Medium.

Change 898040 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Special:MobileLanguages redirects to languages at bottom of page

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

Edtadros added subscribers: ovasileva, Edtadros.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: When visiting Special:MobileLanguages/Spain the page should redirect to Spain#p-lang and the languages should be displayed in the article.
@ovasileva, I tried this, and it redirects. Spain had no languages, so I tried it on Polar Bear as well and the languages appear at the bottom. The only odd thing is that it doesn't navigate to the top of the page, it ends up somewhere in the middle. While odd behavior, I'm not sure it's within the scope of the task. This may require another task. Let me know and I will create one.

Screen Recording 2023-03-24 at 4.19.41 PM.mov.gif (1×1 px, 991 KB)

Screen Recording 2023-03-24 at 4.18.25 PM.mov.gif (1×1 px, 1 MB)

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: When visiting Special:MobileLanguages/Spain the page should redirect to Spain#p-lang and the languages should be displayed in the article.
@ovasileva, I tried this, and it redirects. Spain had no languages, so I tried it on Polar Bear as well and the languages appear at the bottom. The only odd thing is that it doesn't navigate to the top of the page, it ends up somewhere in the middle. While odd behavior, I'm not sure it's within the scope of the task. This may require another task. Let me know and I will create one.

Screen Recording 2023-03-24 at 4.19.41 PM.mov.gif (1×1 px, 991 KB)

Screen Recording 2023-03-24 at 4.18.25 PM.mov.gif (1×1 px, 1 MB)

Sounds good, I don't think we need another task for now, although it is a bit strange

Edtadros removed Edtadros as the assignee of this task.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: When visiting Special:MobileLanguages/Spain the page should redirect to Spain#p-lang and the languages should be displayed in the article.

Screen Recording 2023-04-01 at 3.48.32 PM.mov.gif (896×984 px, 598 KB)