Narrative
- As a mobile reader (familiar with editing on my device)
- When I am reading an article with no images
- I want to see any image(s) that could be used to illustrate the article,
- so that I can both gain a better understanding of the topic, as well as contribute to helping others who read the article in the future.
Acceptance Criteria
- When I make a request to the Image Suggestion API with a page title, I expect to see a list of recommended images for the page I requested (from both ImageMatchingAlgorithm and MediaSearch)
- A maximum of 3 images should come from the ImageMatchingAlgorithm
- 7-10 images should be from MediaSearch
Example Spec
Request
https://api.wikimedia.org/image_suggestion/v1/wikipedia/en/?page_title="Frog"
Response
{ "project": enwiki "page" "Frog" [ { "image": "image 1", "source": "Wikidata", "cofidence_rating": "high" }, { "image": "image 2", "source": "Commons", "cofidence_rating": "low" } ] }
Open Questions
- What are the image sources and mappings to confidence rating?
- Commons (Low)
- Wikipedia (Medium)
- Wikidata (High)
- MediaSearch (Low)
- Confidence rating changes over time.