Page Previews

Goals
Navigation Popups are a useful gadget and should be promoted to a site feature. Many users miss out on its utility because they are not aware of it, due to its poor discoverability in preferences.

Key Changes
Restyling it to enable easy reading. Currently the type size is small & the margins are tight.
 * Create a consistent visual style with the article type treatment.
 * Emphasize the lead images, so a user gets an idea of a term using both text and image.
 * The action set in the gadget feels out of context, hence we need to validate which of those actions are useful for readers and editors.
 * Include the last edited timestamp that we have tested on wikipedia mobile web, but de-emphasize it.

Priorities

 * Article Titles
 * Wiktionary
 * User names

Open Questions

 * Should there be any actions in the popups*
 * If so, what?
 * Ideal timings for show and hide
 * What if any animation/effects are used during transitions

Analytics & Instrumentation

 * Number of displays of the popup
 * Links followed while popup is displayed vs after popup dismissal
 * Links followed within popups

Code
The code lives in a git repo here and on gerrit too Patches currently undergoing code review
 * 1) Add time ago in words at the bottom of the popup
 * 2) Add `redirects to` message at the top of the popup
 * 3) Add hook for BetaFeatures

Specifications
A more detailed Spec can be found here.