Regression caused by: T231613 and T229440
After the recent update there have been a lot of changes can be seen in the diff pages. But it produced several bugs. Changes in size is being shown wrongly on diff pages. It is happening on every site where AMC mode is not enabled, it seems.
Update: This is affecting every users at the moment (including AMC users).
Steps to Reproduce:
- Go to a mobile website.
- Open a diff. (eg. https://commons.m.wikimedia.org/wiki/Special:MobileDiff/365754184 )
Actual Results:
- It is shown that there is no change in size below the "Revision as of {{timestamp}}".
- The text of the user info is enlarged.
Expected Results:
- The "real" change are shown below the "Revision as of {{timestamp}}".
Screenshot:
- The text fits the user info drawer.
QA steps
Test this on the beta cluster and check the 3 possible states have the correct icon and label:
- Should show as bytes added:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:MobileDiff/397129
- Zero bytes changed:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:MobileDiff/397299
- Bytes removed:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:MobileDiff/397130
- Confirm on https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:MobileDiff/397299 that text for user groups is capitalised, looks like this:
- Similarly the date next to bytes changed should be the same size as the label alongside the "bytes changed" icon text.
QA Results
AC | Status | Details |
---|---|---|
1 | ✅ | T232941#5509238 |
2 | ✅ | T232941#5509238 |
3 | ✅ | T232941#5509238 |
4 | ✅ | T232941#5509238 |
5 | ✅ | T232941#5509238 |