mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git a/commons/src/main/java/fr/free/nrw/commons/CommonsApplication.java b/commons/src/main/java/fr/free/nrw/commons/CommonsApplication.java
 | |
| index 3fe594d..8306000 100644
 | |
| --- a/commons/src/main/java/fr/free/nrw/commons/CommonsApplication.java
 | |
| +++ b/commons/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://bits.wikimedia.org/event.gif";
 | |
| -    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};
 | 
