GSoC/GCI Archive
Google Code-in 2013 Wikimedia

Do not serve language list in initial HTML on Wikipedia mobile

completed by: Theo Patt

mentors: Jon Robson

The MobileFrontend extension collapses lists of languages into a single language button that reveals languages in a JavaScript overlay. Ideally the list of languages should not be served in the original page HTML, however it must have a suitable fallback for users without JavaScript (e.g. a link to a special page).

A solution to this problem is much needed and would all end users by speeding up the load time of many pages.

See this bug report for more information:
https://bugzilla.wikimedia.org/show_bug.cgi?id=40678

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.