Page MenuHomePhabricator

List Image Suggestion for all unillustrated articles (Algo + MediaSearch)
Closed, ResolvedPublic3 Estimated Story Points

Description

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?
    1. Commons (Low)
    2. Wikipedia (Medium)
    3. Wikidata (High)
    4. MediaSearch (Low)
  • Confidence rating changes over time.

Subtasks

Event Timeline

sdkim set the point value for this task to 3.
sdkim renamed this task from List Image Recommendation for a given article (Algo + MediaSearch) to List Image Suggestion for a given article (Algo + MediaSearch).Feb 3 2021, 5:36 PM
sdkim updated the task description. (Show Details)
sdkim renamed this task from List Image Suggestion for a given article (Algo + MediaSearch) to List Image Suggestion for all unillustrated articles (Algo + MediaSearch).Feb 25 2021, 4:43 PM

Change 667420 had a related patch set uploaded (by BPirkle; owner: BPirkle):
[mediawiki/services/image-suggestion-api@master] Integrate MediaSearch results into image suggestions

https://gerrit.wikimedia.org/r/667420

Change 667420 merged by jenkins-bot:
[mediawiki/services/image-suggestion-api@master] Integrate MediaSearch results into image suggestions

https://gerrit.wikimedia.org/r/667420