mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Convert WikidataConstants to kotlin
This commit is contained in:
		
							parent
							
								
									a783a82058
								
							
						
					
					
						commit
						16d4a64224
					
				
					 2 changed files with 11 additions and 11 deletions
				
			
		|  | @ -1,11 +0,0 @@ | ||||||
| package fr.free.nrw.commons.wikidata; |  | ||||||
| 
 |  | ||||||
| public class WikidataConstants { |  | ||||||
|     public static final String PLACE_OBJECT = "place"; |  | ||||||
|     public static final String BOOKMARKS_ITEMS = "bookmarks.items"; |  | ||||||
|     public static final String SELECTED_NEARBY_PLACE = "selected.nearby.place"; |  | ||||||
|     public static final String SELECTED_NEARBY_PLACE_CATEGORY = "selected.nearby.place.category"; |  | ||||||
| 
 |  | ||||||
|     public static final String MW_API_PREFIX = "w/api.php?format=json&formatversion=2&errorformat=plaintext&"; |  | ||||||
|     public static final String WIKIPEDIA_URL = "https://wikipedia.org/"; |  | ||||||
| } |  | ||||||
|  | @ -0,0 +1,11 @@ | ||||||
|  | package fr.free.nrw.commons.wikidata | ||||||
|  | 
 | ||||||
|  | object WikidataConstants { | ||||||
|  |     const val PLACE_OBJECT: String = "place" | ||||||
|  |     const val BOOKMARKS_ITEMS: String = "bookmarks.items" | ||||||
|  |     const val SELECTED_NEARBY_PLACE: String = "selected.nearby.place" | ||||||
|  |     const val SELECTED_NEARBY_PLACE_CATEGORY: String = "selected.nearby.place.category" | ||||||
|  | 
 | ||||||
|  |     const val MW_API_PREFIX: String = "w/api.php?format=json&formatversion=2&errorformat=plaintext&" | ||||||
|  |     const val WIKIPEDIA_URL: String = "https://wikipedia.org/" | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paul Hawke
						Paul Hawke