mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Update EventLog with appropriate wiki name
Helps differentiate between testwiki & commons
This commit is contained in:
parent
e05f55dbff
commit
e324206930
2 changed files with 2 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ public class CommonsApplication extends Application {
|
|||
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 EVENTLOG_URL = "https://bits.wikimedia.org/event.gif";
|
||||
public static final String EVENTLOG_WIKI = "testwiki";
|
||||
|
||||
public static final Object[] EVENT_UPLOAD_ATTEMPT = {"MobileAppUploadAttempts", 5257716L};
|
||||
public static final Object[] EVENT_LOGIN_ATTEMPT = {"MobileAppLoginAttempts", 5257721L};
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ public class EventLog {
|
|||
try {
|
||||
fullData.put("schema", schema);
|
||||
fullData.put("revision", rev);
|
||||
fullData.put("wiki", "commonswiki");
|
||||
fullData.put("wiki", CommonsApplication.EVENTLOG_WIKI);
|
||||
data.put("device", DEVICE);
|
||||
data.put("platform", "Android/" + Build.VERSION.RELEASE);
|
||||
data.put("appversion", "Android/" + CommonsApplication.APPLICATION_VERSION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue