Following T117279 some changes were made to MobileFrontend (Special:MobileDiff) and Mediawiki core. However it introduced some regressions. I have found these two bugs for now. I suspect there could be other bugs.
1. Mark as patrolled link isn't being shown in this new Special:MobileDiff
Steps to Reproduce:
- Go to a wiki where patrolling is enabled
- Find an unpatrolled edit, you must also have patrol right to be able to see the mark as patrolled button
- View and compare its diff in both mobile and desktop mode
Actual Results:
- A "mark as patrolled" button used to appear below the mobile version of an unpatrolled diff. This button in mobilediff is hidden but it is still intact in the desktop diff.
Expected Results:
- Mark as patrolled button is displayed.
QA steps
https://phabricator.wikimedia.org/T242310#5790108
2. Buttons to switch to a VisualDiff doesn't work
Steps to Reproduce:
- Enable VisualDiff beta feature.
- View a mobilediff
- You'll see two grouped buttons. One enabled and one disabled.
- Click on the enabled button since you can not click on the disabled button
Actual Results:
- Nothing happens! You can not switch to a VisualDiff! It seems the JS code to load a visual diff isn't being loaded.
Expected Results:
- Visual diff works as usual like in the desktop version.
qa steps
Compare visual diff button shows on desktop (https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Diff_test&diff=412205&diffmode=source)
Confirm the button is clickable and shows a visual diff.
3. Mobile diff width is broken
Steps to reproduce:
- Visit https://commons.m.wikimedia.org/wiki/Special:MobileDiff/386306397 from a mobile device or resize your screen. The width is broken.
QA steps
Verify that the diff on https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:MobileDiff/412205 does not cause any width problems on mobile.
QA Results
AC | Status | Details |
---|---|---|
1 | ✅ | T242310#5841370 |
2 | ✅ | T242310#5841370 |
3 | ✅ | T242310#5841370 |