Followup to https://phabricator.wikimedia.org/T386873 and https://phabricator.wikimedia.org/T388083
Looks like this was broken during fixes to Parsoid in T359005
Steps to replicate the issue (include links if applicable):
- Visit https://en.m.wikipedia.org/w/index.php?title=PayScale&direction=prev&oldid=1276323293&useparsoid=0#Overview (on beta cluster https://en.m.wikipedia.beta.wmflabs.org/wiki/Brass_band#Brass_band_publishers&useparsoid=0 )
- Click the issues banner
What happens?:
Banner doesn't open
What should have happened instead?:
- Banner should open
- No warnings in JS console
Note: it does seem to work in Parsoid.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
All browsers
e.g. Browser stack Android Galaxy S23 Chrome
Other information (browser name/version, screenshots, etc.):
There are also some deprecation warnings that may be related
Requirement
On mobile pages rendered using the legacy parser (i.e., useparsoid=0), the page issues banner must function as expected: clicking it should expand or collapse the banner content without error, and no JavaScript console warnings should be triggered.
BDD
Feature: Page issues banner expands on legacy parser mobile pages Scenario: Expand issues banner using legacy parser Given I visit a mobile page using the legacy parser with a page issues banner When I click the page issues banner Then the banner expands to show its content And no warnings appear in the JavaScript console
Test Steps
Test Case 1: Page issues banner functions with legacy parser
- Open https://en.m.wikipedia.beta.wmflabs.org/wiki/Brass_band#Brass_band_publishers&useparsoid=0
- Locate the page issues banner above the article content.
- Click the banner.
- AC1: Confirm the banner expands to show detailed information.
- Open the browser’s Developer Tools → Console.
- AC2: Confirm no warnings or errors appear in the console after interacting with the banner.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T388696#10842366 |
| 2 | ✅ | T388696#10842366 |

