Write a developer documentation on howto use Beta commons for developing. This should be similar than on-wiki and local development guide.
- https://commons.wikimedia.beta.wmflabs.org
- https://commons.wikimedia.org/wiki/Help:Gadget-Cat-a-lot/Developing
- https://commons.wikimedia.org/wiki/Help:Gadget-Cat-a-lot/Local_Development
In the guide there should be
Step 1
Howto setup everything manually
- Howto copy relevant javascript files to Beta Commons as user javascript / css files
- Howto edit code so that it will use user namespace versions of the dependencies OR loads them from Wikimedia Commons
- Howto create test categories and howto copy files to them
Files
Step 2
Write a python pywikibot script for automating the process
- ie. Python script which will copy javascript / css files and modify them so that the gadget scripts will be working from user namespace.
- Script will create some user specific test categories and it will populate them with images
- If script has been re-run, it will ask if the gadget scripts would be updated to latest version from Wikimedia Commons )
Example script from local development guide:
Beta Commons Development Guide