Page Previews

The Hovercards Beta Feature provides the casual reader with a streamlined browsing experience. Whenever a reader hovers over a link to another article, a short summary of the article and a relevant image is provided to them so they can make the decision about whether they want to read the full article.

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.