== Background
The sticky header provides a certain set of tools focused on article pages and other mainspaces focused on content creation. At this point, we will not support special use cases for the set of pages listed below, however, we will iterate on this in the future
== Acceptance criteria
[] Sticky header should be disabled on the following namespaces and pages:
- Talk
- File
- Special
- TimedText
- Diff pages
- History pages
[] Enabled on
- Main
- User
- Wikipedia
- Template
- Module
- Help
- Category
- Portal
[] If the namespace above is not listed, it should be disabled
[] Checks are hardcoded and performed in JavaScript (for now)
# Developer notes
Configuration can be expensive, so for now I would recommend hard coding this behaviour inside the JavaScript. Namespace is available in `mw.config.get('wgNamespaceNumber')` and action in `mw.config.get('wgAction')`
In future if we want/need to generalize this, I'd suggest refactoring and generalising the existing code relating to max width, but that should be considered out of scope for now.