Write a similar developer documentation page than on-wiki development and local developent, but this would be for using beta commons for developing. In the guide there should bedeveloper 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**
[#] Howto copy some test images to beta commons and create test categories.
[#] 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. It will populate test categories with some images. If script has been re-run, it will ask if the gadgeWrite a python pywikibot scripts would be updated to latest version from Wikimedia Commons ) for automating the process
** Example script for local development: # 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