Background
We ship various styles in the mobile skin that should be no longer necessary.
In preparation for applying this to Vector 2022 we should remove styles that no longer serve a purpose.
Based on discussion in T358078 we can remove some of these styles.
User story
As a reader I do not want to load styles that are not serving any purpose for my experience.
As a developer I do not want undocumented code that serves no purpose.
Acceptance criteria
The following styles in can be removed from https://github.com/wikimedia/mediawiki-skins-MinervaNeue/blob/master/resources/skins.minerva.base.styles/content/hacks.less
- Drop .collapsible td. This is antiquated code that has been replaced with mw-collapsible.
- Drop topicon and #coordinates. Now these are indicators, there is no need to hide them. This was addressed by T281974.
- Drop #filetoc - not necessary. This element appears to be responsive
- Drop references-column-count / column-count - these were replaced by https://github.com/wikimedia/mediawiki-extensions-Cite/blame/master/modules/ext.cite.styles.minerva.less in Cite extension
- Drop references li:target if T360720 has been resolved.
- Drop .multicol rules - https://en.m.wikipedia.org/wiki/Template:Col-begin hasn't used a table based layout for 8 years (https://en.m.wikipedia.org/w/index.php?title=Template:Col-begin&diff=next&oldid=729136955&diffonly=1)
- Remove templates/reflist.less - .content .reflist { column-gap: 2em; } doesn't apply to elements that are display: block (see https://en.m.wikipedia.org/wiki/Anarchism for example)
QA
A file table of contents should appear at the top of this page:
https://commons.m.wikimedia.org/wiki/File:Dzieje_malarstwa_w_Polsce._Cz._1_1925_(155225517).jpg?uselang=de
It should look like so:
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T360387#9685889 |