Skip to content

Commit 4c1270e

Browse files
committed
Migrate event logging to www.wikimedia.org/beacon
Fixes commons-app#220.
1 parent 6ddcbb6 commit 4c1270e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/java/fr/free/nrw/commons/CommonsApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class CommonsApplication extends Application {
5252
public static final String API_URL = "https://commons.wikimedia.org/w/api.php";
5353
public static final String IMAGE_URL_BASE = "https://upload.wikimedia.org/wikipedia/commons";
5454
public static final String HOME_URL = "https://commons.wikimedia.org/wiki/";
55-
public static final String EVENTLOG_URL = "https://bits.wikimedia.org/event.gif";
55+
public static final String EVENTLOG_URL = "https://www.wikimedia.org/beacon/event";
5656
public static final String EVENTLOG_WIKI = "commonswiki";
5757

5858
public static final Object[] EVENT_UPLOAD_ATTEMPT = {"MobileAppUploadAttempts", 5334329L};

upload-to-commons.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ index 3fe594d..8306000 100644
1313
+ public static final String IMAGE_URL_BASE = "https://upload.wikimedia.org/wikipedia/commons";
1414
+ public static final String HOME_URL = "https://commons.wikimedia.org/wiki/";
1515
+
16-
public static final String EVENTLOG_URL = "https://bits.wikimedia.org/event.gif";
16+
public static final String EVENTLOG_URL = "https://www.wikimedia.org/beacon/event";
1717
- public static final String EVENTLOG_WIKI = "testwiki";
1818
+ public static final String EVENTLOG_WIKI = "commonswiki";
1919

0 commit comments

Comments
 (0)