User:Novem Linguae/Essays/Linking GitHub to MediaWiki
Appearance
MediaWiki is great for wiki-ing, but not so great for programming, revision control, continuous integration, and continuous deployment. This is a list of ways I have seen developers try to solve this problem. It usually involves putting the code on GitHub, then attempting to automate deployment from GitHub to MediaWiki somehow.
This is complicated by the fact that on enwiki (and maybe globally) the GitHub Actions IP addresses are blocked.
Someday, when an obviously better method emerges, we should all pick one technology and all transition to that. Until then, you have many different options to pick for linking your GitHub repo to MediaWiki.
Links
[edit]- User scripts or gadgets with a deploy script
- https://github.com/wikimedia-gadgets/twinkle/blob/master/scripts/sync.pl
- https://github.com/wikimedia-gadgets/afc-helper/blob/master/scripts/upload.py
- https://github.com/wikimedia-gadgets/twinkle-starter/blob/master/scripts/deploy.js
- https://github.com/wikimedia-gadgets/MoreMenu/blob/master/bin/deploy.js
- https://github.com/wikimedia-gadgets/xfdcloser/blob/master/bin/deploy.js
- https://github.com/jwbth/convenient-discussions/blob/main/deploy.js
- User scripts or gadgets with a deploy action
- Bots
- Wikipedia:Bots/Requests for approval/DeltaQuadBot 9 - many concerns raised, expired before trial
- Wikipedia:Bots/Requests for approval/SDZeroBot 13 - approved, active
- Unsorted
- https://github.com/wikimedia-gadgets/deploy-action
- https://github.com/wikimedia-gadgets/mw-deployer - MusikAnimal was working on this at a hackathon
- https://www.npmjs.com/package/wikiploy and https://www.npmjs.com/package/wiki-to-git
- https://github.com/wikimedia-bg/git-sync and https://bg.wikipedia.org/wiki/MediaWiki:Gadget-ParsePhabLinks.js
- phab:T187749