== Background
In November 2023, we broke the AMC drawer (T351362) that prompted people to try the advanced mobile mode when clicking the desktop site link in footer.
Since then we have been maintaining a large amount of code (1000+ lines) that impacts user performance for no good reason.
Currently if you set:
```
$wgMFAmcOutreachMinEditCount = 0;
$wgMFAmcOutreach = true;
```
then the drawer shows but clicking it has no effect.
This was disabled in production.
== User story
- As a developer I don't want to maintain unused code
- As a user I don't want to download unnecessary code.
== Requirements
[] Remove`tests/node-qunit/mobile.startup/amcOutreach/amcOutreachDrawer.test.js` and `tests/node-qunit/mobile.startup/amcOutreach/AmcEnableForm.test.js`
[] src/mobile.startup/promoCampaign/promoCampaign.js has been removed
[] All messages prefixed with `mobile-frontend-amc-outreach-` have been removed from i18n folder and extension.json
[] src/mobile.startup/amcOutreach folder has been removed
[] Configuration flags $wgMFAmcOutreach and $wgMFAmcOutreachMinEditCount have been dropped and the README has been updated.
[] The includes/Amc/Outreach.php file has been removed.
[] The service MobileFrontend.AMC.Outreach is removed.
[] The style resources/mobile.startup/amcOutreach/amcOutreachDrawer.less has been removed.
[] When visiting Special:MobileOptions I should see a control for opting into advanced mode.
[] Code has been recompiled using `npm run build` and runs without any JS errors when viewing an article page and the page renders without any CSS error.
{F65809621}
=== BDD
- For QA engineer to fill out
=== Test Steps
- For QA engineer to fill out
== Design
- Add mockups and design requirements
== Acceptance criteria
- Add acceptance criteria
== Communication criteria - does this need an announcement or discussion?
- Add communication criteria
== Rollback plan
- What is the rollback plan in production for this task if something goes wrong?
//This task was created by Version 1.2.0 of the [[ https://mediawiki.org/w/index.php?title=Reading/Web/Request_process | Web team task template ]] using [[ https://phabulous.toolforge.org/ | phabulous ]] //