User:Novem Linguae/Essays/Linking GitHub to MediaWiki

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.

Working solutions

 * https://github.com/wikimedia-gadgets/deploy-action
 * https://github.com/wikimedia-gadgets/twinkle/blob/master/scripts/sync.pl
 * https://github.com/wikimedia-gadgets/afc-helper/blob/master/scripts/upload.py
 * 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

Ideas

 * T187749
 * Bots/Requests for approval/DeltaQuadBot 9