Skip to content

Media Data Verification Tool (MDVT) is a micro-contribution tool which enables volunteers to correct most of the depicts data which has been entered as structured data while uploading images on Wikimedia Commons.

License

Notifications You must be signed in to change notification settings

gabrielchl/media-data-verification-tool

Repository files navigation

Media Data Verification Tool

This is (so far) a prototype / demo for my proposal for GSoC 2020.

Quick start guide

  1. Create the file mdvt/config/config.py with the following contents:
config = {}

config['SECRET_KEY'] = '<flask secret key>'
config['OAUTH_URI'] = 'https://meta.wikimedia.org/w/index.php'
config['OAUTH_TOKEN'] = '<oauth token>'
config['OAUTH_SECRET'] = '<oauth secret>'
config['DATABASE_URI'] = '<sqlalchemy db uri>'
  1. Run the Flask shell with flask shell
  2. Run the following commands in the Flask shell to create tables for the database:
>>> from mdvt.database.models import User, UserSetting, Contribution
>>> from mdvt import db
>>> db.create_all()
  1. Install front end dependencies with npm i
  2. Build JavaScript with npm run dev (use npm run build for production)
  3. Run the tool with flask run

About

Media Data Verification Tool (MDVT) is a micro-contribution tool which enables volunteers to correct most of the depicts data which has been entered as structured data while uploading images on Wikimedia Commons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published