Th editor makes use of several templates loaded via ResourceLoader. We will load them inline.
These are:
358: "AbuseFilterOverlay.hogan": "resources/mobile.editor.overlay/AbuseFilterOverlay.hogan", 359: "AbuseFilterPanel.hogan": "resources/mobile.editor.overlay/AbuseFilterPanel.hogan", 360: "editHeader.hogan": "resources/mobile.editor.overlay/editHeader.hogan", 361: "previewHeader.hogan": "resources/mobile.editor.overlay/previewHeader.hogan", 362: "saveHeader.hogan": "resources/mobile.editor.overlay/saveHeader.hogan", 363: "EditorOverlayBase.hogan": "resources/mobile.editor.overlay/EditorOverlayBase.hogan", 364: "contentVE.hogan": "resources/mobile.editor.overlay/contentVE.hogan", 365: "toolbarVE.hogan": "resources/mobile.editor.overlay/toolbarVE.hogan", 366: "BlockMessage.hogan": "resources/mobile.editor.overlay/BlockMessage.hogan", 367: "content.hogan": "resources/mobile.editor.overlay/content.hogan"
Acceptance criteria
- All the files in the editor have been inlined.
- Increase in JS bundlesizes should be consistent with the removal of the size of ResourceLoader's mobile.startup module. Change in bytes shipped to client should be recorded.
QA steps
- Visit https://en.m.wikipedia.beta.wmflabs.org/wiki/Spain
- Click on the edit icon
- Verify that the editor Overlay appears. Click the pencil icon and make sure you can successfully switch between "Visual editing" and "Source editing"
- Click on "Source editing"
- Type something new into the text box and click "Next"
- Verify that the preview overlay appears that has a toolbar containing a "Publish" button
QA Results
| AC | Status | Details |
| 1 | ✅ | T220159#5133290 |
| 2 | ✅ | T220159#5133290 |
| 3 | ✅ | T220159#5133290 |


