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)
- Clone the repository (preferably from Gerrit
- Setup the repository for use with git review. You can use this tutorial.
- Create Python3 virtual environment by running
virtualenv -p python3 venv
- Activate the venv by running
source venv/bin/activate
- Install required packages by running
pip install -r support/requirements.txt
- 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) - Run
./app.py
to run the development server