Background
As a part of the AMC project, we would like users to have an experience more similar to desktop for all special pages. This means loading the desktop special pages for all of the pages which currently have mobile versions
Acceptance Criteria
- When opted into AMC mode and visiting the contributions page of any user, display the contributions page from core instead of the mobile version of the page
Signoff Criteria
- make a note on https://phabricator.wikimedia.org/T225785 that this can now be done using AMC
Developer notes
This can be achieved by making https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/103f9892071d0b8d6809426e067b3d14998a6a06/includes/MobileFrontendHooks.php#L499 conditional (override the Contributions page when the AMC is off).
QA Notes
When Anonymous
- Logout of https://en.m.wikipedia.beta.wmflabs.org
- Go to https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Contributions/Selenium_user
- Ensure that the MobileFrontend version of the contributions page shows. The core version will have a form you can use to filter contributions whereas the MobileFrontend version will not have this form.
When AMC is disabled
- Login and disable AMC mode on https://en.m.wikipedia.beta.wmflabs.org
- Go to https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Contributions/Selenium_user
- Ensure that the MobileFrontend version of the contributions page shows. The core version will have a form you can use to filter contributions whereas the MobileFrontend version will not have this form.
When AMC is enabled
- Login and enable AMC mode on https://en.m.wikipedia.beta.wmflabs.org
- Go to https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Contributions/Selenium_user
- Ensure that the core version of the contributions page shows. The core version will have a form you can use to filter contributions whereas the MobileFrontend version will not have this form.
QA Results
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T225124#5282951 |
| 2 | ✅ | T225124#5282951 |
| 3 | ✅ | T225124#5282951 |





