This is script for dumping data from old Extension:EducationProgram to wiki, because only SQL dumps were provided (https://dumps.wikimedia.org/other/educationprogram/).
The requirement for running this script is to have: a) ToolForge access b) some templates (with syntax equivalent to the one Outreach Dashboard currently uses, so if you do have editing from the Dasbhaord enabled, you should have the templates); if you don't have such templates, adapt those from cs.wikipedia. If you want to, you can adapt the script to not require a) or b).
Before running, you must firstly adapt the script for your wiki. This means the following:
- Adapt line 7 and line 8 to create correct DB connection and site connection
- Adapt line 25, line 40, line 53 and line 54 to your template names.
- Adapt summary on line 55
After you have customized the script, you can do the following: