Page MenuHomePhabricator

AddSenseImage: Tool to add image statements to lexeme senses
Closed, ResolvedPublic

Description

So, my idea for a project for the 2021 hackathon is this:

A web-based tool that allows you to easily find and add images to add Commons images to Wikidata lexeme senses.

What I'm envisioning the tool should do:

  • Log in with OAuth
  • Choose a language to work with
  • Choose 0 or more lexical categories to work with
  • Give you a random sense, or a list of senses to choose from?
  • ✔️ Add a button to lexeme senses to add an image (as long as there is no image already)
  • ✔️ Search Commons for the sense, but also supply a search box so you can choose what to search for. Use MediaSearch
  • Pick an image, set it as the P5137 for the sense

Event Timeline

jhsoby renamed this task from Pictogram: Tool to add image statements to lexeme senses to AddSenseImage: Tool to add image statements to lexeme senses.May 23 2021, 12:49 PM
jhsoby updated the task description. (Show Details)

Updated description to reflect that I changed my approach from a web-based tool to a user script instead.

jhsoby claimed this task.

The script is finished (well, as finished as these things get), and one can use it on Wikidata by including this in common.js:

mw.loader.load( "//www.wikidata.org/w/index.php?title=User:Jon_Harald_Søby/addSenseImage.js&action=raw&ctype=text/javascript" );