From 2171b6846d746341313adbe8da0b5307d844d882 Mon Sep 17 00:00:00 2001 From: Martin Urbanec Date: Mon, 23 Jul 2018 11:05:11 +0200 Subject: [PATCH] Get rid of legacy URL (#1646) This URL still works but intended as legacy. As there are more separate API endpoints, I've renamed the folder to commonsmisc to enable me to add all endpoints to one folder and to reduce potentional damage that can be caused by fogotting the symlink is there for a reason, I'm renaming it in the Commons app as well --- .../fr/free/nrw/commons/mwapi/ApacheHttpClientMediaWikiApi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/fr/free/nrw/commons/mwapi/ApacheHttpClientMediaWikiApi.java b/app/src/main/java/fr/free/nrw/commons/mwapi/ApacheHttpClientMediaWikiApi.java index a749ed59d..03ff52c8b 100644 --- a/app/src/main/java/fr/free/nrw/commons/mwapi/ApacheHttpClientMediaWikiApi.java +++ b/app/src/main/java/fr/free/nrw/commons/mwapi/ApacheHttpClientMediaWikiApi.java @@ -710,7 +710,7 @@ public class ApacheHttpClientMediaWikiApi implements MediaWikiApi { @NonNull public Single getUploadCount(String userName) { final String uploadCountUrlTemplate = - wikiMediaToolforgeUrl + "urbanecmbot/uploadsbyuser/uploadsbyuser.py"; + wikiMediaToolforgeUrl + "urbanecmbot/commonsmisc/uploadsbyuser.py"; return Single.fromCallable(() -> { String url = String.format(