Mobile: Add view source button to older revisions
completed by: Theo Patt
mentors: Jon Robson
When viewing https://en.m.wikipedia.org/w/index.php?title=San_Francisco&oldid=582487722 it is impossible to view the source code (the wikitext) of the page.
A successful solution will add a view source link to this page in the beta mode of the mobile site (see Special:MobileOptions). When clicked it will load the JavaScript based editor but without the ability to save changes. This mobile view is provided by the MobileFrontend extension.
See this bug report for more information:
https://bugzilla.wikimedia.org/show_bug.cgi?id=54484
Students are required to read Wikimedia's general instructions first. Patches should be submitted to Gerrit and reference the bug report in the commit message. ideally the solution should be added to the beta mode of the MobileFrontend extension to allow testing and quicker merging, repository maintainers can help with this during the code review process.