From 3dbc7440753e8737accfb6027b483f9f6ef4d70b Mon Sep 17 00:00:00 2001 From: Jeremy Kenny Date: Wed, 14 Dec 2022 05:29:29 -0500 Subject: [PATCH] review: exclude images not uploaded from the app (#5118) * the Review feature (in the app's menu) was originally thought as a way to improve our app's overall upload quality, it is not really adapted to the wide variety of pictures uploaded via other upload tools. * update the Review API call to request only images with the `android app edit` tag. --- .../main/java/fr/free/nrw/commons/review/ReviewInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/fr/free/nrw/commons/review/ReviewInterface.java b/app/src/main/java/fr/free/nrw/commons/review/ReviewInterface.java index 7dee125fc..920c78a49 100644 --- a/app/src/main/java/fr/free/nrw/commons/review/ReviewInterface.java +++ b/app/src/main/java/fr/free/nrw/commons/review/ReviewInterface.java @@ -10,7 +10,7 @@ import retrofit2.http.Query; * Interface class for peer review calls */ public interface ReviewInterface { - @GET("w/api.php?action=query&format=json&formatversion=2&list=recentchanges&rcprop=title|ids&rctype=new|log&rctoponly=1&rcnamespace=6") + @GET("w/api.php?action=query&format=json&formatversion=2&list=recentchanges&rcprop=title|ids&rctype=new|log&rctoponly=1&rcnamespace=6&rctag=android%20app%20edit") Observable getRecentChanges(@Query("rcstart") String rcStart); @GET("w/api.php?action=query&format=json&formatversion=2&prop=revisions&rvprop=timestamp|ids|user&rvdir=newer&rvlimit=1")