Skip to content

Github mirror of "labs/tools/mdvt" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Notifications You must be signed in to change notification settings

wikimedia/labs-tools-mdvt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

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. Run the tool with flask run

About

Github mirror of "labs/tools/mdvt" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published