Steps to replicate the issue (include links if applicable):
- Visit https://en.wikipedia.org/w/index.php?title=The_Persian_Version&diff=1216272724&oldid=1216272689
- Visit https://en.wikipedia.org/w/index.php?title=The_Persian_Version&diff=1216272724&oldid=1216272689&useskin=minerva
- Visit https://en.wikipedia.org/w/index.php?title=The_Persian_Version&diff=1216272724&oldid=1216272689&useskin=monobook
- The colors used do not pass WCAG color contrast issues
- The colors used do not pass WCAG color contrast issues in dark mode https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Conflict-title-0.14501166074480598-I%C3%B1t%C3%ABrn%C3%A2ti%C3%B4n%C3%A0liz%C3%A6ti%C3%B8n&diff=623464&oldid=623463&vectornightmode=1
What happens?:
- On Vector 2022 and Monobook skins I see a flash of the legend in the top left corner before it disappears.
- In Minerva the diff legend never disappears
What should have happened instead?:
- The diff legend should never be displayed on these pages, either by not being included in the initial HTML or via CSS that hides it by default.
- .oo-ui-element-hidden class is added to the legend in all skins but Minerva (probably by https://gerrit.wikimedia.org/g/mediawiki/core/+/d96f37b412921956f9c96e255c1cea6694643658/resources/src/mediawiki.diff/inlineFormatToggle.js ?)
- The colors used here should probably be consistent with other diff pages per T90948.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):