Skip to content

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

License

Notifications You must be signed in to change notification settings

wikimedia/labs-tools-commons-mass-description

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commons-mass-descriptions

Commons mass description filler is a currently developed tool which can fill descriptions to photograps without them at Wikimedia Commons. Its live version is running at https://tools.wmflabs.org/commons-mass-description/.

Requirements

  • Python 3
  • Modules in requirements.txt
  • OAuth grant for WMF wikis (can be requested at Meta Wiki)
    • Valid localhost settings:
    • Application name: Commons Mass Description (YOURNAME local testing)
    • OAuth callback: http://localhost:5000/oauth-callback
    • Applicable project: commonswiki
    • Applicable grants:
      • High volume editing
      • Edit existing pages

Run development environment

(all paths are from repository's root)

  1. Clone the repository (preferably from Gerrit
  2. Setup the repository for use with git review. You can use this tutorial.
  3. Create Python3 virtual environment by running virtualenv -p python3 venv
  4. Activate the venv by running source venv/bin/activate
  5. Install required packages by running pip install -r support/requirements.txt
  6. In src, copy config.example.yaml to config.yaml (there are localhost-only OAuth credentials predefined, in case they don't work, please request yours as described above)
  7. Run ./app.py to run the development server

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10