Description
This task entails adding detailed and visual steps for users when embedding the Wikipedia Preview plugin on their sites.
Depending on the type of editor the admin uses, we should show either, a Classic editor instructions OR Gutenberg editor instructions
a) Classic Editor Copy: Add a Preview link to your site’s content (i.e. a word or a phrase you want to provide context for).
b) Gutenberg Editor Designs: Fetch visual illustrations and copy from Figma file
Gutenberg UX details
- Present post-activation instruction once users activate the plugin.
- These instructions come only for once. If users leave the instructions page then they won't be able to see them again.
Below mockup is an example to show how post-activation page will look together (Gutenberg).
Steps to add instructions
- Add following heading first followed by an illustration.
Enhance your website with free knowledge straight from Wikipedia!
- Add following copy below the illustration
Wikipedia Preview lets you show a popup card with a short summary from Wikipedia when a reader clicks or hovers over a link.
Wikipedia Preview is easy to set up and use. Simply follow these steps:
- Add first bullet point followed by an illustration.
1. Highlight the text you want to link to a Wikipedia article.
- Add second bullet point followed by an illustration.
2. Select ‘Wikipedia Preview’ from the menu.
- Add third bullet point followed by an illustration.
3. You will see a list of suggested articles. Select the one you want to link to.
- Add fourth bullet point followed by an illustration.
4. Wikipedia Preview will automatically turn the link into a preview of the relevant Wikipedia article. You can easily edit or remove this.
We are going to make some css related changes(adding border to images, adjusting their size, margins, padding, etc.) once instructions will be available in the code format.
Acceptance Criteria
- Post-activation instructions appear depending on the type of editor, upon activating the plugin.
Test Scenarios
- Download and activate the plugin to see if the instructions appear for those with Gutenberg or those using hyperlinks (test both scenarios).





