T289716 introduced a sticky header skeleton. This task aims to ensure compatibility with widely used on-wiki templates that use fixed elements.
== Background
Some concerns were raised around the behavior of the sticky header along with other sticky elements on the page (for example sticky table headers on dewiki)
== Acceptance criteria
[] Ensure sticky header appears above other sticky page elements for example table elements in https://de.wikipedia.org/wiki/Elvis_Presley/Diskografie without any changes.
[] There should be a general solution allowing template editors to add a class to their markup to add compatibility
== Developer notes
Ideally we'd have a general solution and will begin communication with template developers about what they need to change in their templates to guarantee support with the sticky header feature. This should be as simple as adding a class e.g. "mw-sticky-header-element".
== QA
Scroll to headers on https://de.wikipedia.org/wiki/Elvis_Presley/Diskografie and ensure that the headers stick to the bottom of the sticky header.
For local testing:
- Use `de` for content provider in local settings - i.e.
```
$wgMFMwApiContentProviderBaseUri = 'https://de.wikipedia.org/w/api.php';
```
- Navigate to page with sticky table headers i.e. http://localhost:8080/wiki/Elvis_Presley/Diskografie
- Verify that sticky table headers are not hidden by new sticky header.
- Compare with prod using `vectorstickyheader=1` query param on https://de.wikipedia.org/wiki/Elvis_Presley/Diskografie
== QA Results - Beta
| **AC** | **Status** | **Details** |
| ----- | ----- | ----- |
| 1 | ✅ | T289817#7407269 |