Before we can do anything with the history page we will need to make it accessible
acceptance criteria
- there is a feature flag that allows us to disable history page override in mobile
- the feature flag is disabled by default (we will enable after we've skinned it)
- When feature flag is enabled history page is not substituted with mobile counterpart
- When feature flag is enable watchlist continues to be substituted with mobile counterpart
QA steps
Visit https://reading-web-staging.wmflabs.org/wiki/Timed_test_2
With AMC enabled:
Click the history link
I should see the history page from desktop in all its unstyled messy glory (there is a form at the top of the page)
With AMC disabled
Click the history link
I should not see the form at the top of the page
anonymous
Click the history link
I should not see the form at the top of the page
developer notes
The override happens in a hook where config and amc can be checked
Earlier attempt: https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MobileFrontend/+/487071/
We should retain all other special page optimisations and limit our changes to the SpecialMobileHistory::shouldUseSpecialHistory function.
QA Results
Status | Details |
✅ Passed | T219874#5096192 |