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
| **Wikimedia Commons file ** | **Beta Commons file**
| [[ https://commons.wikimedia.org/wiki/MediaWiki:Gadget-Cat-a-lot.css | MediaWiki:Gadget-Cat-a-lot.css ]] | [[ https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Mypage/Gadget-Cat-a-lot.css | Special:Mypage/Gadget-Cat-a-lot.css ]]
| [[ https://commons.wikimedia.org/wiki/MediaWiki:Gadget-Cat-a-lot.js | MediaWiki:Gadget-Cat-a-lot.js ]] | [[ https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Mypage/Gadget-Cat-a-lot.js | Special:Mypage/Gadget-Cat-a-lot.js ]]
| [[ https://commons.wikimedia.org/wiki/MediaWiki:Gadget-libAPI.js | MediaWiki:Gadget-libAPI.js ]] | [[ https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Mypage/Gadget-libAPI.js | Special:Mypage/Gadget-libAPI.js ]]
| [[ https://commons.wikimedia.org/wiki/MediaWiki:Gadget-SettingsManager.js | MediaWiki:Gadget-SettingsManager.js ]] | [[ https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Mypage/Gadget-SettingsManager.js | Special:Mypage/Gadget-SettingsManager.js ]]
| [[ https://commons.wikimedia.org/wiki/MediaWiki:Gadget-SettingsUI.js | MediaWiki:Gadget-SettingsUI.js ]] | [[ https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Mypage/Gadget-SettingsUI.js | Special:Mypage/Gadget-SettingsUI.js ]]
**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:
- https://commons.wikimedia.org/wiki/Help:Gadget-Cat-a-lot/Local_Development/copy_cat-a-lot-files_to_local_wiki.py