The MobileFrontend router has been upstreamed. We should now use it as its identical to ours and it's being used by discovery so we will benefit from more eyes maintaining it.
Description
Details
Event Timeline
Change 288005 had a related patch set uploaded (by Jdlrobson):
Hygiene: Switch to using mediawiki.router
This one needs more work. I'm happy to continue reviewing the patch if someone else is up for owning the patch.
@MBinder_WMF: How did an unowned change make it into our sprint?
I'll own the change.
@phuedx I believe this was the task that started the sprint in Code Review (I recall that it was discussed during Prioritization, which fits date-wise). The task history suggests that @Jdlrobson did the tagging and moving.
Modules prefixed with skins. are meant to only put things together and boot up the skin. They can lead to side effects when they are pulled into the test environment so they are not pulled in there.
This separation also reminds us to make classes reusable.
The test_OverlayManager.js code as a result does not load (which was why I left it in mobile.startup) so moving to -1.
Note there are also a few issues in the test for instance it tries to initialise an instance of OverlayManager.
Change 294246 had a related patch set uploaded (by Jdlrobson):
Restore OverlayManager tests and move back to mobile.startup library
Correct this was always intended to be in this sprint and we talked about it in prioritisation. I commented on the patchset "(Feel free to take over this patch and any other one of my patches in my absence. Consider this permission to edit.)" :)
We should take the time to document this (or have we already?) I still don't quite understand the naming scheme – e.g. I tend to look for index(.js) or init(.js) files when looking for initialisation scripts – but if the convention is documented, then neato!
The test_OverlayManager.js code as a result does not load (which was why I left it in mobile.startup) so moving to -1.
Note there are also a few issues in the test for instance it tries to initialise an instance of OverlayManager.
Ta.
Change 294246 merged by jenkins-bot:
Restore OverlayManager tests and move back to mobile.startup library