Page MenuHomePhabricator

Legend appears in ProofreadPage diffs
Closed, InvalidPublicBUG REPORT

Description

What is the problem?

If you look at a ProofreadPage diff with diff-type=inline you see the new legend as implemented in T324759.

Steps to reproduce problem
  1. https://en.wikisource.beta.wmflabs.org/w/index.php?title=Page%3AWar_and_Peace.djvu%2F22&diff=10182&oldid=5001&diff-type=inline
Environment

Wiki(s): https://en.wikisource.beta.wmflabs.org MediaWiki 1.41.0-alpha (fc89c57) 08:04, 11 May 2023. VisualEditor 0.1.2 (1810eca) 07:21, 11 May 2023.

Screenshots

proofreadpage_legend_bug.png (895×1 px, 139 KB)

Event Timeline

Change 920393 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/core@master] diff: Only show inline legend for text slot

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

Change 920393 merged by jenkins-bot:

[mediawiki/core@master] diff: Only show inline legend for text slot

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

Change 920578 had a related patch set uploaded (by Samtar; author: Samwilson):

[mediawiki/core@wmf/1.41.0-wmf.9] diff: Only show inline legend for text slot

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

@Samwilson Please see the findings below. Diff of suppressed revisions and JsonConfig both came from the Diff Type link below.

OS: macOS 13.3
Browsers: Chrome 113, Firefox 113, Safari 16.4
Skins: Vector 2022, 2010, Minerva, Monobook, Timeless

Test Link: https://en.wikisource.beta.wmflabs.org/w/index.php?title=Page%3AWar_and_Peace.djvu%2F22&diff=10182&oldid=5001&diff-type=inline
Also Diff types from: - https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2022/Better_diff_handling_of_paragraph_splits/Test_strategy/Types_of_diffs

Vector 2022- When logged in, I was getting a spacing issue on the title for this link (https://en.wikisource.beta.wmflabs.org/w/index.php?title=Page%3AWar_and_Peace.djvu%2F22&diff=10182&oldid=5001&diff-type=inline). All the other skins, I did not have an issue with it. When I was logged out though, the title was fine.
UPDATE 5/18: Seems like the patch got reverted and I no longer receiving this issue with the title spacing.

SkinLogged inLogged out
Vector2022
T336481_BetterDiffs_Vector2022_TitleAlignment.png (929×1 px, 269 KB)
T336481_BetterDiffs_Vector2022_TitleAlignment_LoggedOut.png (883×1 px, 216 KB)

Diff of suppressed revisions- Trying to switch to Visual but I'm getting an Invalid response from server error

T336481_BetterDiffs_DiffofSuppress_InvalidError.png (729×3 px, 301 KB)

JsonConfig- Legend is showing even though I have diff-type=inline

T336481_BetterDiffs_JsonConfig_Legend.png (869×1 px, 226 KB)

Opinion 1 - Under Vector 2022, should the Help button be on the title line alongside with Add Language, to make it look cleaner? It seems like all the other skins have the Help button on the title line too except for Vector 2022.

InfoVector 2010Vector 2022
Help Button
T336481_BetterDiffs_Vector2010_HelpButton.png (854×3 px, 422 KB)
T336481_BetterDiffs_Vector2022_TitleAlignment_LoggedOut.png (883×1 px, 216 KB)

Change 920578 abandoned by Samtar:

[mediawiki/core@wmf/1.41.0-wmf.9] diff: Only show inline legend for text slot

Reason:

Not backporting

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

TheresNoTime subscribed.

New implementation will cover the issue described in this task. Please see https://phabricator.wikimedia.org/T324759#8874993