This is an tool used to manage contests created and managed by WikiMovimento Brasil. It allows evaluators to validate editions made to articles participating in said contests, and also adds up the points earned by participants. Different contest evaluators can have their own profile, and their own separate validation history of the contributions they have checked.
The system's informations comes from local databases, which contain the data on the articles editions. These databases are fed by cron jobs, which must be set up separetely.
Use the following command:
php -S 127.0.0.1:8000
Then visit 127.0.0.1:8000 on your prefered browser.
If you use Toolforge, credentials for connecting to the database are automatically registered. If you use another host, credentials must be entered on the bin/connect.php file.
Create a new database for the contest. Instructions for the tables are described in Initial.sql.
Please check the instructions on this repository's wiki for instructions.
The update.php script must be set up to run at every 10 minutes to feed the contests' databases. It is responsible for gathering the information on:
- new editions made in listed articles,
- which users are participating in the contest,
- mark edits made by participants on edit's table, if made after the participant's time of enrollment,
- checks if users has been renamed during the course of the contest,
- if any previous edition has been reverted, unmade or deleted
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
GNU General Public License v3.0
This application was developed by the Wiki Movimento Brasil User Group.