GSoC/GCI Archive
Google Code-in 2013 Wikimedia

Improve navigation between pages of multi-page documents (PDF, DJVU)

completed by: Thomas Lam

mentors: Bartosz Dziewoński

Example page of such a file: File:MediaWikiPerformanceProfiling.pdf. "← previous page" and "next page →" links load document pages dynamically, but the behavior should be improved:

  1. tracking history (using history.pushState)
  2. mw.hook() notifying about finishing the loading of the page fragment

See this bug report for more information. (The bug also mentions using the API to download the data, but consider this entirely optional.) Students are required to read Wikimedia's general instructions first.