Page MenuHomePhabricator

Create a test bot to add images on a beta wiki
Closed, DeclinedPublic

Description

We need to test the creation of a bot to call the Image Recommendations API and add images to unillustrated articles.

Acceptance Criteria:

  • A bot is created that does the following:
    • Call the Image Recommendations API to get a list of unillustrated articles on a beta wiki (Cebuano?) and their image matches, both from the ImageMatching Algorithm and from MediaSearch, and add the first recommendation to 100 random articles
    • Call the Image Recommendations API to get a list of unillustrated articles on a beta wiki (Cebuano?) and their image matches, both from the ImageMatching Algorithm and from MediaSearch, and add all recommendations to 100 random articles
    • Call the Image Recommendations API to get a list of image matches for 100 specific random articles from both the ImageMatching Algorithm and MediaSearch and add the first recommendation to all of them
    • Call the Image Recommendations API to get a list of image matches for 100 specific random articles from both the ImageMatching Algorithm and MediaSearch and add all recommendations to all of them