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.01k stars 1.19k forks source link

Hackathon 2024 suggested project idea: Fix women biographies with no picture #5707

Open neslihanturan opened 5 months ago

neslihanturan commented 5 months ago

What is the user problem or growth opportunity you want to see solved?

Many of you may have heard Women in Red project. I am personally interested in projects that targets gender gap. Therefore I would enjoy working on related field at the hackathon. It is physically not possible to take women portraits and upload them as a edit-a-thon, unlike nearby. Because we can not be around a group of women who has no picture. However, my suggestion is: 1- Having a random button, when it is clicked --> 2- Finding a random women biography with no portrait from Wikipedia 3- Then searching the name and surname of the women on Wikimedia Commons 4- If there is results, this article from Wikipedia and pictures from Commons will be the response of the random button that is shown to the user 5- Then user will check the page and the pictures, if one of these pictures seems like the portrait of that woman 6- User will select it and click to the button "yes this is the portrait of xxxx". 7- The picture will be added to the infobox of the user page with a Wikipedia edit.

The logic seems a bit similar to our gamification. This will both add picture to women biographies and increase the benefit and usability of a Commons picture.

How do you know that this problem exists today? Why is this important?

Women in red projects are ongoing in many languages. Here is a related gadget idea suggested for this hackathon too. I also plan to contribute that issue at the hackathon.

Who will benefit from it?

User will be motivated by their contributions and its impact on decreasing the gender gap.The picture will find its article and one women will have a better written page.

Anything else you would like to add?

No response

misaochan commented 5 months ago

Hi @neslihanturan , I like this idea too. :) I'm not sure if you can add directly to the infobox though, I think it would depend on what sort of intents the Wikipedia app allows. Currently AFAIK we only allow users to copy the wikitext to clipboard, and they have to manually paste it.

Maybe another possibility would be to make Women In Red pictures (or other templates that target the gender gap) more prominent in Explore? At least for the duration of a campaign, as we discussed earlier (1 month?). It could be accompanied by a tooltip explaining briefly about the project, and a notification on the app main page during that time. This could increase awareness of the project, as I think many users are not familiar with it.

Tagging @sivaraam @nicolas-raoul for input.

neslihanturan commented 5 months ago

Hey hey :) Jo I think it is a great idea to boost it is explorability, however I don't think there is a official/formal method for these events are published. So I am not sure how we will catch these events and put them on explore. For example in Turkish Vikipedi we usually talk it on village pump and that's all.

I also totally agree with your concern about editing the pic at infobox. I think just to display missing pages has an impact and good enough for the hackathon. We can think about technical acpect of editing the info box.

nicolas-raoul commented 5 months ago

I edited a lot for Women in Red in the past, it is a great project.

Adding to the infobox is possible, the code would just need to take the wikitext, modify it, and post. Just like the app already does for discussion pages.

About step 2: Do we currently have a reliable way to tell whether a Wikipedia article has a picture or not?


There is a very out-of-date list of articles without pictures but whose Wikidata item has a picture, unfortunately it is not only uselessly out-of-date (most articles in the list now have pictures) but also it does not distinguish between genres: https://wikidata-todo.toolforge.org/wp_no_image/enwiki.html Here is the script to generate that page: https://bitbucket.org/magnusmanske/wikidata-todo/src/master/scripts/images_on_wikidata_not_wikipedia.php Maybe the script could be reused (or some bits could be used as a reference) to generate an up-to-date list of women that have a picture on Wikidata but not on Wikipedia? The list could then both be made available as a web page and via the app.


In addition to any place you judge useful, here is a place where it would be natural to add a call to action: https://github.com/commons-app/apps-android-commons/issues/5619

neslihanturan commented 5 months ago

Adding to the infobox is possible, the code would just need to take the wikitext, modify it, and post. Just like the app already does for discussion pages.

Is the way of adding person info box standardized for all languages? If so, as you said it should be straightforward. However, I assume some exceptional cases when it comes to many Wikipedias.

About step 2: Do we currently have a reliable way to tell whether a Wikipedia article has a picture or not?

This would have require to read wikitext/infobox for a Wikipedia article AFAIK.

There is a very out-of-date list of articles without pictures but whose Wikidata item has a picture, unfortunately it is not only uselessly out-of-date (most articles in the list now have pictures) but also it does not distinguish between genres: https://wikidata-todo.toolforge.org/wp_no_image/enwiki.html Here is the script to generate that page: https://bitbucket.org/magnusmanske/wikidata-todo/src/master/scripts/images_on_wikidata_not_wikipedia.php Maybe the script could be reused (or some bits could be used as a reference) to generate an up-to-date list of women that have a picture on Wikidata but not on Wikipedia? The list could then both be made available as a web page and via the app.

I think this is a great idea. On the other hand my editor experience says, many of the times there is no pic on Wikidata, but you may come up finding a file when you search with the name of the women on Commons. Also, it is very easy to find out Wikidata articles with no picture with sparQL. I would say easier than checking Wikipedia article.

We can try to design the feature first and define several phases. The first phase can be implemented at the hackathon maybe?

So to be more explicit: my first suggestion was to check Wikidata item, if there is no picture then search name and the surname on the Commons. Show results to the user, user can pick one best fit (if there is any) to upload.

Wikipedia article integration could be the second phase maybe? Apart from what is applicable at the hackathon, I think it can be better to complete designing all the phases and final expectation first. So we won't need to erase or redo our work later.

nicolas-raoul commented 5 months ago

It is very language-specific, actually it is probably easier to add the picture outside the infobox, it is an acceptable place too. :-)

many of the times there is no pic on Wikidata, but you may come up finding a file when you search with the name of the women on Commons

Ah yes great idea :-)

kanahia1 commented 5 months ago

Hey @neslihanturan, I had applied for visa last month and haven't received any updates from embassy. That probably mean that I will also be working through online. I am new to Wikimedia Hackathon. Can I work on this project along with you?

neslihanturan commented 5 months ago

Hi @kanahia1 , as a person who also needs Visa to travel EU, I understand how frustrating and stressful this Visa effort can be. I wish you will get it today or tomorrow anyways. You are more than welcome to work on this with me, both online and in person. I am looking forward to see your contributions.

kanahia1 commented 5 months ago

Thank you for the reply. Just a simple request can you please assign me some work related to this project during the hackathon.

Hi @kanahia1 , as a person who also needs Visa to travel EU, I understand how frustrating and stressful this Visa effort can be. I wish you will get it today or tomorrow anyways. You are more than welcome to work on this with me, both online and in person. I am looking forward to see your contributions.

sivaraam commented 4 months ago

Sorry about the delay in response. I hope things are going good at the Hackathon πŸ™‚

About step 2: Do we currently have a reliable way to tell whether a Wikipedia article has a picture or not?

I think there's the media-list API API that we could use for this. We already use the same in our app for some use case.

neslihanturan commented 4 months ago

Hey hey, I have developed a prototype for this issue. I was the only one working on the issue at the venue. I have showcased it. But immediately right after I have a vacation. I am currently on a vacation so it may take time for me to clean the code and push.

Also regarding to this message from @kanahia1 :

Thank you for the reply. Just a simple request can you please assign me some work related to this project during the hackathon. I was very busy with the hacking and traveling so it wasn't very convenient for me to make management of assigning you a task, as I didn't know what kind of tasks you are willing to work on. But I would really appreciated with some help as the task was a bit huge for only one person. So the next time lets move on with more defined collaborations like "hey I can write a query for this" or "hey I can work on the UI". This approach would work better for me.

So far the code fetches Women in Red items and search images at Commons and as user if they are relevant or not. It does not edit Wikidata item yet, and halp in this could be helpful.

misaochan commented 4 months ago

Thanks for updating us @neslihanturan ! That sounds like fantastic progress. No rush at all, enjoy your vacation. Hoping to collaborate with all of you in the next hackathon. :)

kanahia1 commented 4 months ago

@neslihanturan, I am sorry not being much informative. Actually, I didn't know how/where the project is going on. I would have collaborated more better if would have been present in-person. But I managed to contribute to hackathon by talking with the people through telegram. One of the participants suggested me idea to show different images in explore map based upon the campaign I will try to work on this project during this summer.

πŸŽ‰ Happy Vacations And enjoy all of the exciting adventures ahead of you! πŸŽ‰

So can I work on the edit wikidata item part? Also I would be better if you can share the code after your vacations and we can have a talk over this.

neslihanturan commented 4 months ago

@kanahia1 I am so happy that you found another way to still contribute!:) Congratz for your efforts. I will return back next week and yer I am very open to talk about the code next week. Probably it will be better to work on a separate branch and refactor code and also completing the task at that time.

kanahia1 commented 2 months ago

Hi @neslihanturan, I will be participating in Indic-Wikimedia Hackathon. Can I take this project for the hackathon ?

neslihanturan commented 2 months ago

Hi @kanahia1 , it is great to hear this! I would be happy to support this process. Do you have a route in your head about this task? Would you be interested to have an online meeting to talk about the implementation? When is the hackathon?

kanahia1 commented 2 months ago

Hey @neslihanturan, I have just returned from the Hackathon and here is the progress that I have made.

https://github.com/commons-app/apps-android-commons/assets/114223204/a5532fad-f27b-4362-adab-ce1316d9b0c3

It fetches images of women (for smaller dataset I have used actors for an instance) and then search for image using the name. We may need to redevlop this tool https://bitbucket.org/magnusmanske/wikidata-todo/src/master/scripts/images_on_wikidata_not_wikipedia.php. Surely, We can have a discussion over it. I have sent you a message on the Zulip :-)