Problem
A bug has been identified where the plugin does not function correctly when the user starts by searching a term and then attempts to add a preview. This issue is specific to the search-first method.
Steps to replicate the issue
- In the WordPress editor, click the "W" icon from the toolbar to activate the Wikipedia Preview plugin.
- Use the plugin's search functionality to look for a specific word or phrase you wish to add a preview for.
- Click on the search result that matches the word or phrase you searched for.
- Observe the behavior of the plugin, particularly whether it allows you to add a preview or if there is a failure in this process.
What happens?:
Plugin does not successfully add a Wikipedia preview for the selected search result.
What should have happened instead?:
Upon selecting a search result, the Wikipedia Preview plugin should have seamlessly integrated a preview.
Acceptance Criteria
- The search-first method for adding Wikipedia previews is functional and reliable.
QA Results - WordPress
AC | Status | Details |
---|---|---|
1 | ✅ | https://phabricator.wikimedia.org/T355399 here |