Task T87439 is a project to show suggested articles to translate to the people who use ContentTranslation.
This task is about designing how this list will be stored and loaded. I discussed this briefly with @leila earlier today.
My initial simple idea is to do something like this:
- Add a suggested_articles table to the central contenttranslation database. If this table doesn't exist, the feature won't be loaded.
- This table will have the following columns:
- source language
- target language
- the article topic identified by the Q number of the corresponding Wikidata item. (For example, for the article Idaho it will be Q1221.)
- rank (how important it is to translate this article). Probably a number, with smaller number indicating higher importance.
To load the article list there will be an API similar to the one in api/ApiQueryContentTranslation.php.
Comments are welcome, especially from @leila, @santhosh, @Pginer-WMF, and everybody else.