forked from commons-app/apps-android-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupload-to-commons.patch
21 lines (19 loc) · 1.38 KB
/
upload-to-commons.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/app/src/main/java/fr/free/nrw/commons/CommonsApplication.java b/app/src/main/java/fr/free/nrw/commons/CommonsApplication.java
index 3fe594d..8306000 100644
--- a/app/src/main/java/fr/free/nrw/commons/CommonsApplication.java
+++ b/app/src/main/java/fr/free/nrw/commons/CommonsApplication.java
@@ -45,11 +45,12 @@ public class CommonsApplication extends Application {
private MWApi api;
private Account currentAccount = null; // Unlike a savings account...
- public static final String API_URL = "https://test.wikipedia.org/w/api.php";
- public static final String IMAGE_URL_BASE = "https://upload.wikimedia.org/wikipedia/test";
- public static final String HOME_URL = "https://test.wikipedia.org/wiki/";
+ public static final String API_URL = "https://commons.wikimedia.org/w/api.php";
+ public static final String IMAGE_URL_BASE = "https://upload.wikimedia.org/wikipedia/commons";
+ public static final String HOME_URL = "https://commons.wikimedia.org/wiki/";
+
public static final String EVENTLOG_URL = "https://www.wikimedia.org/beacon/event";
- public static final String EVENTLOG_WIKI = "testwiki";
+ public static final String EVENTLOG_WIKI = "commonswiki";
public static final Object[] EVENT_UPLOAD_ATTEMPT = {"MobileAppUploadAttempts", 5334329L};
public static final Object[] EVENT_LOGIN_ATTEMPT = {"MobileAppLoginAttempts", 5257721L};