Wikipedia Preview

Wikipedia Preview allows you to provide context from Wikipedia about words or phrases on any website. It lets you show a popup card with a short summary from Wikipedia when a reader hovers over a link. It is available as [ https://github.com/wikimedia/wikipedia-preview a standalone JavaScript component] for any website, as [ https://wordpress.org/plugins/wikipedia-preview/ a WordPress Plugin], and [ https://bearloga.github.io/wikipediapreview-r/ an R package] for use with R Markdown documents & websites.

Background
When readers navigate in and out of a webpage through interacting with several hyperlinks, they can easily lose context of what they were reading in the first place. Content sites would like their readers to read and engage with their content and understand it without having to get contextual information elsewhere. Wikipedia Preview can solve this problem for content providers by allowing readers to have concise and visual contextual information from Wikipedia within a content provider’s mobile properties - website or webapp.

The feature on Wikipedia was created to solve the problem of context switching for desktop readers. This feature extends that functionality to external 3rd party sites. The first phase will focus on building a mobile led experience with partners whose primary readers are in emerging markets.

About Wikipedia Preview
Wikipedia Preview would allow Wikimedia project content available as contextual information on 3rd party sites. The feature will not be restricted to only showing the first sentences of a Wikipedia article, it will be as diverse as showing information from sister projects which could be images, definitions or even reading much more of an article directly on the content provider’s website.

This feature is not new. It was discussed when page previews launched in 2018. Internal staff and volunteers have created similar functionality in chrome extensions, slack integrations and wordpress plugins in their personal capacity as volunteers.

The is taking on this work as one of the ways to expose our project content to readers in emerging markets. We see this product as a way of moving away from the traditional notion of single monolithic articles and moving towards more modular and contextual learning. Wikipedia Preview on partner websites would allow their readers to gain context while reading their pages and:


 * Help people gain contextual knowledge from Wikipedia without necessarily clicking through to Wikipedia
 * Learn more on Wikipedia with the option being available to read more on Wikipedia

Goal

 * Increase reach of Wikipedia content in Emerging Markets as part of the goal to become the essential infrastructure of free knowledge
 * Partner with sites in emerging markets whose readers would benefit from contextual knowledge from Wikipedia

Status Updates
Q3 2022-23


 * Made 2 releases of Preview on 9th February(v1.7.0.) and 23rd February(v1.9.0)
 * Improving plugin experience:
 * Support WordPress v6.1
 * Scroll jump on opening Wikipedia Preview
 * Update plugin dependencies
 * Wikipedia Preview Link Style doesn't show in Editor
 * Post-activation instructions for Wikipedia Preview.
 * Instrumentation work:
 * Update Wikipedia Preview ETL job to extract instrumentation version
 * Improving the onboarding and feedback experience for plugin users:
 * Add Leave Review & Contact Support links on Plugin page
 * Remove border around preview custom toolbar
 * Adjust Wikipedia Wordmark Scale on Wikipedia Preview Card
 * Updating plugin's screenshots
 * Remove usage of deprecated useAchorRef hook and anchorRef prop
 * Most common Wikipedia Preview clickthrough path on computers not instrumented
 * JS error on widgets admin page
 * Plugin page- Installation tab
 * Plugin page-Details Tab
 * Fixing the rating  trigger for WP preview users
 * Plugin ratin/ review prompt

Q2 2022-23


 * Improving the onboarding and feedback experience for plugin users:
 * Support WordPress v6.1
 * Fixing the Rating Trigger for Wikipedia Preview Plugin users
 * Add Leave Review & Contact Support links on Plugin page

Q1 2022-23


 * 1) B2B marketing campaigns done between 20 July - 30 August, 2022 to drive awareness and use of Wikipedia Preview plugin.
 * 2) * Objective: Increase downloads of the Wikipedia Preview plug-in on Wordpress
 * 3) * Target audience: Bloggers, webmasters, Wordpress developers, site owners
 * 4) * Channels: Meta, LinkedIn, Google
 * 5) * Wordpress site page for Wikipedia Preview
 * 6) * Results:
 * 7) ** Google ads was the key driver of downloads
 * 8) ** High download rates did not yet seem to translate into installs. Install rates are mostly unaffected by campaigns.
 * 9) * Next steps: Before marketing further, explore why downloads did not convert to installs.

Q4-2021/2022


 * Released version 1.5.0. It includes fixes for popup positioning and double-encoded links, both of which were issues reported on live sites. It also includes a banner asking site admins to give the plugin a rating on wordpress.org

Q2-2021/2022


 * Released Wikipedia Preview plugin in the Gutenberg editor feature! https://wordpress.org/plugins/wikipedia-preview/
 * The Wikipedia Preview plugin is available in 14 languages thanks to volunteer translators.

Q4 - 2020/2021


 * Released the first version enabling websites to integrate Wikipedia Preview on their sites
 * Received feedback from potential Wikipedia Preview users that a way to integrate it on WordPress would be useful
 * Began research on what it would take to build a WordPress plugin
 * Built the first version of the Wikipedia Preview WordPress plugin

Q3 - 2020/2021


 * Created a demo site that supports multiple languages to show how Wikipedia Preview works. Try it out here The experience is designed for use on smartphones.

Q2 - 2020/2021


 * Wikipedia Preview now has a debug mode so that those who have it on their site can better troubleshoot if the product is working as intended.

Q1 2020/2021
 * The team updated Wikipedia Preview so that it prints the version number to the javascript console. This information will be useful when the team needs to receive feedback on issues that arise.


 * Created a demo site to demonstrate how Wikipedia Preview (WP) works. The site shows how Wikipedia Preview works in multiple languages, both LTR and RTL. This experience is best seen on a mobile phone.
 * Updated the Wikipedia Preview design style to improve how the Wikipedia logo and icons are displayed

Q1 2019/2020


 * User testing on how users would discover that Wikipedia Preview is available on a website
 * Began framing what the Wikipedia Preview experience would look like on mobile phones https://phabricator.wikimedia.org/T250796