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
This commit is contained in:
Martin Urbanec 2018-07-23 11:05:11 +02:00 committed by neslihanturan
parent e872e5b82e
commit 2171b6846d

View file

@ -710,7 +710,7 @@ public class ApacheHttpClientMediaWikiApi implements MediaWikiApi {
@NonNull @NonNull
public Single<Integer> getUploadCount(String userName) { public Single<Integer> getUploadCount(String userName) {
final String uploadCountUrlTemplate = final String uploadCountUrlTemplate =
wikiMediaToolforgeUrl + "urbanecmbot/uploadsbyuser/uploadsbyuser.py"; wikiMediaToolforgeUrl + "urbanecmbot/commonsmisc/uploadsbyuser.py";
return Single.fromCallable(() -> { return Single.fromCallable(() -> {
String url = String.format( String url = String.format(