Page MenuHomePhabricator

Regression: Language links are visible on the print version
Closed, ResolvedPublic1 Estimated Story Points

Description

On the wikis where interlanguage links have been moved to top right as a "p-lang-btn-label", language links and label are visible in printable versions. They are printed on the first page.

enwiki main page print-version interlanguage link.png (573×799 px, 34 KB)

Those links should be hidden.

QA steps

QA Results - Beta

ACStatusDetails
1T282304#7168474

QA Results - Prod

ACStatusDetails
1T282304#7174077

Event Timeline

Kwj2772 triaged this task as High priority.May 8 2021, 6:44 AM
Kwj2772 updated the task description. (Show Details)
Aklapper raised the priority of this task from High to Needs Triage.May 8 2021, 8:37 AM
ovasileva renamed this task from Language links are visible on the print version to Regression: Language links are visible on the print version.Jun 7 2021, 3:57 PM
ovasileva triaged this task as Medium priority.
Jdlrobson subscribed.

Language links are hidden via #mw-navigation in the old skin. Presumably, we need to add a new selector to that query that targets the language selector now that's it outside that element.

Change 699081 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[mediawiki/core@master] Hide language links on print version

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

cjming moved this task from Doing to Code Review on the Web-Team-Backlog (Kanbanana-FY-2020-21) board.
cjming subscribed.

Change 699081 abandoned by Clare Ming:

[mediawiki/core@master] Hide language links on print version

Reason:

moving to Vector repo

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

Change 699284 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[mediawiki/skins/Vector@master] Hide language links on print version

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

Change 699284 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Hide language links on print version

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

Test Result - Beta

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

Test Artifact(s):

QA Steps

Visit an article in the beta cluster (i.e. https://en.wikipedia.beta.wmflabs.org/wiki/Albert_Einstein)
✅ AC1: Bring up a print dialog box and note that the 1st page is the content of the page, not an endless list of languages.

Screen Shot 2021-06-21 at 9.36.20 PM.png (833×1 px, 305 KB)

Screen Shot 2021-06-21 at 9.36.03 PM.png (691×953 px, 247 KB)

Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: chowiki, testwiki
OS: macOS Big Sur
Browser: Chrome
Device: MBP
Emulated Device: NA

Test Artifact(s):

QA Steps

Visit an article
✅ AC1: Bring up a print dialog box and note that the 1st page is the content of the page, not an endless list of languages.

Screen Shot 2021-06-23 at 5.45.48 PM.png (1×1 px, 323 KB)

Screen Shot 2021-06-23 at 5.46.52 PM.png (1×1 px, 362 KB)

Screen Shot 2021-06-23 at 5.48.11 PM.png (1×1 px, 567 KB)

Screen Shot 2021-06-23 at 5.47.43 PM.png (1×1 px, 518 KB)

Thibaut120094 subscribed.

Sorry to reopen this but the problem is now present on frwiki: The bug can be reproduced here: https://fr.wikipedia.org/wiki/Theria?languageinheader=1

Screenshot on Firefox 89.0.2:

image.png (1×2 px, 421 KB)

Same problem with the "Download as PDF" tool.

@Thibaut120094 French Wikipedia is still running 1.37.0-wmf.9 (last week's deploy), the fix is in the 1.37.0-wmf.11 release (this weeks deploy) which is live on https://test.wikipedia.org/wiki/Special:Version and mediawiki.org, so this will be fixed in the next release.