The styles for Special:Version are loaded in the mediawiki.special module, which is used on a whole bunch of different special pages.
In mediawiki.special/version.less is the following:
.mw-body-content thead { font-size: 0.9em; }
This is incorrectly applying the reduced font size to tables on all the special pages (of which there don't appear to be too many, so this presumably hasn't been noticed, but it's come up in T411596).
Derived Requirement
Ensure that table styling specific to *Special:Version* is scoped only to that page.
Styles defined in mediawiki.special/version.less, including reduced table header font sizes, must not affect tables on other special pages.
Other special pages must retain their default table font sizes and styling.
Test Steps
Test Case 1: Verify Special:Version table header styling is applied correctly
- Navigate to *Special:Version*.
- Locate the table displayed on the page.
- Inspect the table header (thead) font size visually or via browser dev tools.
- ✅❓❌⬜ AC1: Confirm the table header font size is reduced as intended on *Special:Version*.
Test Case 2: Verify table header styling is not applied on other special pages
- Navigate to another special page that contains a table (e.g. *Special:Statistics* or *Special:Preferences*).
- Locate a table with a header row.
- Inspect the table header (thead) font size.
- ✅❓❌⬜ AC2: Confirm the table header font size is not reduced and matches the default styling for that page.
QA Results -Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T412654#11461946 |
| 2 | ✅ | T412654#11461946 |
