commons-app / apps-android-commons

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons
https://commons-app.github.io/
Apache License 2.0
1.02k stars 1.21k forks source link

Feature request: support adding new categories #3938

Open dpriskorn opened 4 years ago

dpriskorn commented 4 years ago

Images without categories are almost completely worthless to the community. New categories are sometimes needed when I upload lean-to shelters because I want to have a subcategory of e.g. "Lean-tos in Sweden" that does not yet exist.

I suggest adding a view that enables me to search for and create missing categories. It does not have to be in the upload-flow, but that is perhaps preferred.

nicolas-raoul commented 3 years ago

Note: Creating a category is an expert thing to do, and requires seeing very well what are the currently existing categories. Our category search/exploration is quite buggy at the moment, it must be fixed first.

dpriskorn commented 3 years ago

OK, I understand. I should probably create the ones I need with a bot or something. There is 290 categories like "Lean-to in Härnösand Municipality" missing and ~20 missing for the Administrative areas also.

nicolas-raoul commented 3 years ago

@egils-consulting I see! I encourage you to use depictions too, the great thing is that they are perpendicular. For instance, for a picture of a lean-to in Härnösand Municipality, you would select two depictions: "lean-to" and "Härnösand Municipality" (that's all, no need to create a new depiction item).

dpriskorn commented 3 years ago

Thanks for the suggestion. Can I add depictions in the app?

nicolas-raoul commented 3 years ago

Depictions are actually Wikidata items, so your feature request #3935 covers that :-) It is quite rare to have to create a Wikidata item. For instance "lean-to" and "Härnösand Municipality" Wikidata items already exist, so no need to create one. The only situation would be if you encounter a notable place that does not have a Wikidata item yet, for instance a small school or a village townhall or a minor historical monument. To see whether a Wikidata item already exists, you can use the Nearby feature (uncheck "Needs Photo") or https://wikishootme.toolforge.org.

dpriskorn commented 3 years ago

Ideally I as a an uploader would like to select a bunch of images and add them to a category On the screen to choose which category I would like an option to create a new one.

dpriskorn commented 3 years ago

Regarding depictions I do not agree that a shelter depicts the municipality. Does it really?

nicolas-raoul commented 3 years ago

@dpriskorn So you mean that you would select a bunch of images that you have already uploaded, and perform category manipulation on the whole bunch at once? Interesting idea! Our UI to assign a category to a single image is very new and still full of bugs, so the first step would be to polish it, though :-)

"Can a shelter depict a municipality?"

Great question! We definitely want to express (using structured data) the fact that the shelter is in the municipality. And the only structured data attribute we have implemented so far in the app is depicts. Would you know any better attribute that we could use? Maybe object location ? Ideally an attribute that has already gained consensus (and widespread usage) in the SDoC community, and is easily searchable by the general public or will be soon (people searching for pictures of the municipality should be shown the shelter as one of the results).

The current implementation (using depicts) seems to be pretty mainstream (example: Paris is depicted by many many many of its aspects) and saying that a picture of something in Paris is a picture of Paris is not untrue in a way, but I would personally much prefer using a different attribute such as "object location", as long as search is smart enough to show all relevant results.

Cheers!

nicolas-raoul commented 3 years ago

I just realized that "object location" is meant to contain coordinates (latitude, longitude), not the Wikidata QID of an item such as a municipality 🤔

Would you mind asking at https://commons.wikimedia.org/wiki/Commons_talk:Structured_data what is the best way to model the relationship between the picture and the municipality? Thanks!

dpriskorn commented 3 years ago

done https://commons.wikimedia.org/wiki/Commons_talk:Structured_data#Modeling_picture_taken_in_a_certain_municipality

contrapunctus-1 commented 11 months ago

Hi. I'm a long-time OpenStreetMap contributor, and have recently discovered contributing photos to Wikimedia Commons, which are then displayed in applications like OsmAnd.

The ability to create new categories from the Commons mobile application would significantly ease my upload workflow.

nicolas-raoul commented 11 months ago

@contrapunctus-1 Thanks for your valuable feedback! Would you mind describing in details what would be your ideal workflow?

By the way, I am not sure how to show Commons categories in OsmAnd, do you mean the "Online Photos" here? Screenshot_20231101-141849.png

contrapunctus-1 commented 11 months ago

I upload images by sharing them from other applications (e.g. Simple Gallery) to Commons.

Ideally, I would create new categories within the existing Depictions - Categories wizard. Alternatively, I could add new categories within the app in a separate activity. In both cases, I would ideally do everything from the application without having to switch to the website.

Correct, I do mean the Online Photos as shown in your screenshot.