MonoBook supports two modes - a responsive mode and a non-responsive mode.
We can reduce this to 2 modules. I believe this is a small performance win for the startup module, and it would also make the code easier to follow, since there are some subtle differences between the responsive and non-responsive mode that are not clear in the current form.
It uses 2 modules which it conditionally loads if Echo and/or ULS is installed. It has 2 different stylesheet modules which share a lot of overlap. Simple changes to the client should suffice to provide the same end result.
Please see patch for the proposed work.
QA steps
Test 1
- Go to user preferences and enable MonoBook as your default skin. Make sure the box "Enable responsive MonoBook design" is ticked. Save.
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Franck_Montagny
- Confirm that what you see matches . If there are any discrepancies, not them, no matter how small.
- Print the document as a pdf and confirm that the PDF you generate matches . If there are any discrepancies, not them, no matter how small.
- Resize your web browser to 450px. Confirm what you see matches the screenshot below.If there are any discrepancies, not them, no matter how small.
Test 2
- Go back to user preferences and untick the box "Enable responsive MonoBook design". Save.
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Franck_Montagny
- Confirm that what you see matches . Note, you should not see anything different to the results of the above test. If there are any discrepancies, not them, no matter how small.
- Print the document as a pdf and confirm that the PDF matches the PDF in test 2. If there are any discrepancies, not them, no matter how small.
- Resize your web browser to 450px. Confirm what you see matches the screenshot below.If there are any discrepancies, not them, no matter how small.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T285492#7274518 |
| 2 | ❌ | T285492#7274518 |
| 3 | ❌ | T285492#7274518 |
| 4 | ✅ | T285492#7274518 |
| 5 | ❓ | T285492#7274518 |
| 6 | ❓ | T285492#7274518 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T285492#7285672 |
| 2 | ✅ | T285492#7285672 |
| 3 | ❌ | T285492#7285672 |
| 4 | ✅ | T285492#7285672 |
| 5 | ✅ | T285492#7285672 |
| 6 | ✅ | T285492#7285672 |












