Page MenuHomePhabricator

Add some images to the Commons Twitter Bot
Open, Needs TriagePublic

Description

The Commons-twitter-bot project is a bot software which controls a Twitter account via the Twitter API.
If a user tweets an emoji to the bot, the bot should reply to the tweet with an image from Wikimedia Commons that represents the same emotion as the emoji.

The Git source code repository is under labs/tools/Commons-twitter-bot.

The Commons-twitter-bot project has a file called images.json. In this file, all the images used by the bot are mapped to emoji. Some emojis have no images mapped to them yet and some have wrong images mapped to them. Mapping images from Wikimedia Commons that represent the emoji emotion will improve the bot's responses upon tweets to the bot.

Note to GCI participants:

  • The selected image must have author and license information available on Wikimedia Commons.
  • To be considered a completed task you must make a patch that maps at least 5 images to an emoji.

Details

Related Gerrit Patches:
labs/tools/Commons-twitter-bot : masterAdded emoji images

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 11 2018, 5:30 AM
rosalieper renamed this task from Add some images to the WMEmogi Bot to Add some images to the Commons Twitter Bot.Oct 11 2018, 5:30 AM
rosalieper updated the task description. (Show Details)Oct 11 2018, 5:33 AM

Thanks for this task! Where could I find the code base that a student would have to provide a patch for? https://phabricator.wikimedia.org/source/tool-wm-commons-emoji-bot/ seems to be empty...

Urbanecm added a subscriber: Urbanecm.EditedOct 12 2018, 12:34 PM

Thanks for this task! Where could I find the code base that a student would have to provide a patch for? https://phabricator.wikimedia.org/source/tool-wm-commons-emoji-bot/ seems to be empty...

I guess labs/tools/Commons-twitter-bot in Gerrit, it seems to contain some code (this is the same like LTCT here)

D3r1ck01 updated the task description. (Show Details)EditedOct 14 2018, 3:28 PM

@rosalieper, are you going to mentor this for Google-Code-in-2018?

Okay, please explicitly say so on the task and then create a task on GCI website. Thank you :)

Alright, I will mentor this task for GCI.

rosalieper updated the task description. (Show Details)Oct 14 2018, 5:05 PM
Aklapper updated the task description. (Show Details)Oct 14 2018, 5:46 PM

I went ahead and created it: https://codein.withgoogle.com/tasks/6459880283045888/ :) Thanks for mentoring this!

Thank you too

Change 476862 had a related patch set uploaded (by Sunyiming; owner: Sunyiming):
[labs/tools/Commons-twitter-bot@master] Updated emoji images

https://gerrit.wikimedia.org/r/476862

Change 476862 merged by Rosalieper:
[labs/tools/Commons-twitter-bot@master] Added emoji images

https://gerrit.wikimedia.org/r/476862

vaarigupta added a subscriber: vaarigupta.EditedFeb 2 2019, 8:57 PM

Can I contribute to this task?
I am new to open source but I'm willing to contribute to this project . Please help me out throughout this journey

Of course you can. If you want some general guidance, I recommend you joining #wikimedia-dev at Freenode and asking your questions there. Discussions in tasks should be strictly on-topic.