Commons:Mobile app/WLM

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

WLM 2021 integration in Commons Android app[edit]

Update 27 Aug 2021: This feature has been released to alpha testing. More information here.

We are super stoked to be working on implementing WLM integration into the Commons Android app for WLM 2021, as part of our new project grant! :) Generally speaking, this is the process that we intend to go through:

  • Receive feedback from WLM community on proposed mockups and implementation plan (target: 8 March 2021)
  • Modify plan based on community consensus. Finalize design and implementation plan (target: 15 March 2021)
  • Base WLM implementation completed, released to beta for testing and hotfixes (target: 1 July 2021)
  • WLM feature polished and released to production, in time for WLM 2021 (target: 15 August 2021)

Discussion points[edit]

Choice of data source[edit]

Based on previous discussion on the WLM mailing list, the current consensus is that Wikidata will be used as the data source for monuments.

Integration into existing "nearby places that need photos" feature[edit]

In the app, we already have a "nearby places that need photos" feature, where users can view geolocated Wikidata items that need photos on a map, and upload photos for those items (with the appropriate caption, description, and categories pre-filled). Rather than creating a whole new feature for WLM, our plan is to integrate WLM monuments into this map. The main reasons for this design decision are (1) coherence and removing redundancy, and (2) the fact that it familiarizes new users with an upload workflow that carries over seamlessly after WLM is over, making it more likely that they will continue contributing to Commons after WLM.

Should we restrict users to uploading WLM photos from their actual location?[edit]

We were discussing this on GitHub, and we are uncertain as to whether users should or should not be able to upload WLM photos for a country that is different from the location that their phone is in. We can implement that restriction if needed, please let us know if it is.

No. Think any kind of artificial restriction is bad policy in FLOSS projects and could only complicate things with users disabling/enabling this, as well as Android can easily fake location, so why waste time and resources on limiting. Better use resources to enable more support, like audio and video than limiting features for images. Zblace (talk) 19:34, 23 February 2021 (UTC)Reply[reply]
Thanks Zblace. We will not implement this. Misaochan (talk) 16:23, 16 March 2021 (UTC)Reply[reply]
@Misaochan music to my ears :-) How about setting some plan for audio and video? That would be amazing (even if just most basic features and just small files). --Zblace (talk) 18:06, 16 March 2021 (UTC)Reply[reply]
@Zblace Happy to hear that. ;) We actually have an issue up for video support, which Brion offered to work on, but it has been dormant for a long time. I'll try and follow up on it. Misaochan (talk) 12:22, 17 March 2021 (UTC)Reply[reply]

Testing product prior to WLM 2021 start[edit]

As mentioned above, we would like to test this feature prior to the actual WLM launch, so that we will not be discovering new major bugs for the first time during WLM itself. If you would like to help as a tester (mostly during July and August), please let us know in the comments section below. :)

Mock-ups and implementation[edit]


These are screenshots of our existing app (v3.0 UI, currently in beta) with WLM changes added to it, as mock-ups of our intended design.

From left to right:

  1. Our "nearby places that need photos" map usually displays geolocated Wikidata items that lack pictures (no P18) around the user's current location. During WLM month, we intend to have a banner that informs the user about WLM, and WLM monuments will appear as special pins on the same map. The user can also filter for these monuments via the new "WLM" place state chip.
  2. Once the user selects a pin, they will be brought through our usual upload workflow. In the "media details" step, the caption and description will be auto-filled based on the Wikidata properties of that monument.
  3. In the "Categories" step of the upload workflow, relevant categories will be auto-added (which ones?)
  4. Before the final submission step, when the user is selecting their media license, they will be informed again that their photo will be included in the WLM competition. After they tap "Submit", the photo will be uploaded with the relevant templates.
  5. (Optional) Similar to other photo-sharing apps, users can be offered an option to "share" their contribution on social media, perhaps with relevant hashtags added (e.g. #WLM2020).

Community feedback[edit]

Please leave your comments and feedback here! Greatly appreciated.

Several questions:

  • 1. Which exact information will be taken from Wikidata and added to the image?
  • 2. Which information about the monument will be displayed on the map?
  • 3. Will WLM points be available in the app all the time or only during the competition?

--Alexander 18:06, 23 February 2021 (UTC)

1. What would you suggest? By the way, except for p18, currently the app does not automatically "add" anything from Wikidata to the image, all of the fields are only pre-filled with suggestions and the user can change as they wish. We are open to changing this for WLM points if needed.
2. Currently, we display the label and P31 of each Wikidata item on the map (and also, of course, its coordinates). Is there anything else that you think we should display for monuments?
3. I'm thinking only during the competition. Would there be any use in displaying them all the time?
Misaochan (talk) 20:27, 23 February 2021 (UTC)Reply[reply]
1. One crucial part is the monument ID. Each WLM photo should have one, so you need to read properties like P5381 P1483 and place the value into a template like {{Cultural Heritage Russia}}. These templates can be found in the WLM upload campaigns. In my opinion, monument ID should be hard-coded, because an image without monument ID has no value for WLM. Additionally, it would be of course useful to pre-fill the description with the monument name and location (P131) / address.
2. I believe that displaying address (P669, P670) can be very useful. The reason is that there are often many monuments with similar names (like residential houses). Then the address including the street number is the only way to distinguish between them.
3. Yes, this may be of use. Consider that right now there is no mobile app to display cultural heritage monuments on a map. This could be one such app if a filter for cultural heritage monuments were available. After all, people may want to search for monuments also outside the WLM upload period. --Alexander 08:55, 24 February 2021 (UTC)
Thanks for the suggestions Alexander!
1. We will definitely add the monument ID, and I agree that it should be hardcoded. However it seems like P1483 is only for Russian monuments, and it may be tricky for us to manually set a different property for every country. It would be better if there was a universal property that we could use; how about P2186?
2. Sounds good, we can do this. Do all monuments have P669 and P670 set?
3. As Syced mentioned, this can already be viewed through our app, in the Nearby feature. However, the user would have to uncheck "Needs photo" and also select only "monument" as their place type, which does seem like a lot of extra steps. Maybe we can consider making a shortcut in the future. Misaochan (talk) 16:10, 16 March 2021 (UTC)Reply[reply]
1. I agree that using one property (P2186) will be easier. However, you still need a list of templates, because template names are country-specific.
2. Certainly not all of them. Many of the monuments have only directions and no proper address (example: archeological monuments in rural areas). Nevertheless, P669 and P670 will be very useful for monuments inside cities.
--Alexander 19:31, 16 March 2021 (UTC)

Looks good to me! :-) Personally I think the WLM points should be displayed only during competitions. Since they are Wikidata points, they can easily be displayed outside of competitions by unckecking "Needs Photo". Syced (talk) 06:48, 24 February 2021 (UTC)Reply[reply]