Page MenuHomePhabricator

Vector 2022 inconsistent style of "in other languages" when editing in old wikitext editor
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Ensure you have enabled Vector 2022
  • Disable the 2017 wikitext editor (Beta features -> "New wikitext mode")
  • Navigate to any page
  • Click on the "Edit source code" tab

What happens?:

The "In other languages" header has inconsistent styling when compared to other headers.

What should have happened instead?:

At least: The header should have the same styling as other headers.

Better: The header should not be displayed because the links to other languages are not shown on an edit page.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

The problem occurs particulary for those who haven't enabled the 2017 wikitext editor but those who have done so will encounter this bug while viewing the source code of a protected page. This only occurs on Vector 2022 skin (on the legacy Vector the styling is consistent)

image.png (668×217 px, 20 KB)

QA Results - Beta

ACStatusDetails
1T304601#7849913

QA Results - Prod

ACStatusDetails
1T304601#7868157

Event Timeline

Jdlrobson subscribed.

Disable the 2017 wikitext editor

How do I do this? What preferences explicitly should I set here?

Screen Shot 2022-03-24 at 8.08.33 AM.png (926×1 px, 138 KB)

@Jdlrobson The 2017 Wikitext editor may be disabled in the Beta features tab. It's called there "New wikitext mode". Sorry for the confusion.

image.png (310×841 px, 37 KB)

I can replicate the same bad styling on Special:Preferences. I think this might relate to T304468 ?

ovasileva triaged this task as Medium priority.Mar 24 2022, 5:19 PM

Should be fixed by T304468 which Bernard is working on so moving to blocked on others.

Edtadros subscribed.

Test Result - Beta

Status:
Environment: beta
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Ensure you have enabled Vector 2022
Disable the 2017 wikitext editor (Beta features -> "New wikitext mode")
Navigate to any page
Click on the "Edit source code" tab
What happens?:

✅ AC1: At least: The header should have the same styling as other headers.

Screen Shot 2022-04-12 at 3.35.12 PM.png (876×1 px, 244 KB)

Screen Shot 2022-04-12 at 3.35.38 PM.png (878×1 px, 249 KB)

❓ Better: The header should not be displayed because the links to other languages are not shown on an edit page.
@Jdlrobson, is the "better" option in the scope of the patch, or just the "at least" above? If it's just the latter then this is a pass.

The least is the scope. The languages are shown here because of access to the cog. Removing that on the editing page would likely annoy a few people.

Should be testable in production now.

Test Result - Prod

Status: ✅ PASS
Environment: testwiki
OS: macOS Monterey
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Ensure you have enabled Vector 2022
Disable the 2017 wikitext editor (Beta features -> "New wikitext mode")
Navigate to any page
Click on the "Edit source code" tab
What happens?:

✅ AC1: At least: The header should have the same styling as other headers.

Screen Shot 2022-04-20 at 7.11.36 AM.png (1×1 px, 475 KB)

Screen Shot 2022-04-20 at 7.10.57 AM.png (1×1 px, 442 KB)