GSoC/GCI Archive
Google Code-in 2013 Wikimedia

Mobile: Add view source button to older revisions

completed by: Theo Patt

mentors: Jon Robson

When viewing 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:

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.