As discussed on T197834:
Developer notes
The following code is the minimum needed to get editor showing on the Timeless mobile skin with some obvious challenges to work out:
mw.config.set('wgMinervaMenuData', {})
mw.loader.using('skins.minerva.editor').then(function() {
mw.mobileFrontend.require('mobile.startup/Overlay').prototype.appendToElement = 'body'
window.location.hash = '#/editor/0';
} )Goals
- Stop loading the mobile editor on desktop Minerva (✔ done T198765#4698861)
- Move the code from Minerva to MobileFrontend (✔ done T198765#4744389)
Allow loading the mobile editor on other mobile skins(❌ see T198765#4744472)
