Suggestions endpoints for SDC image caption addition/translation
Adds endpoints for suggesting Commons files for SDC caption editing.
The suggestion algorithm is as follows:
- A pool of 500 Commons file candidates with the required source and target language structured caption characteristics is requested using the CirrusSearch-powered wikimediaeditortaskssuggestions Action API module;
- The candidate set is narrowed to a random sample of 50 images;
- An imageinfo query is made for the MIME type and global usage data for the remaining candidates;
- Non-image files are filtered out, and captions are requested for the remaining candidates;
- Candidates are given a final validity check, and those that remain are returned.
The service's minor version to 0.6.0 to reflect the addition of the new