Jump to content

Wikipedia:Wikiploy

From Wikipedia, the free encyclopedia
Wikiploy logo

Wikiploy is a tool for deploying user scripts and gadgets for Wikipedia (and other wikis based on MediaWiki). With this tool, you can easily deploy your JS, CSS, etc. With just a single keystroke you can deploy from a git repository to as many wikis as you need.

The tool uses Puppeteer to control e.g. Chrome Canary. Simply open Chrome with the remote debugging parameter and run the script. The idea is that you are logged into this Chrome instance, so all changes are still your changes.

Wikiploy should work with other Chromium-based browsers. It has been tested and works with MS Edge: Instructions for enabling remote debugging in MS Edge.

Note that Wikiploy's default site is pl.wiki. So to deploy to en.wiki use something like this:

const ployBot = new Wikiploy();
ployBot.site = "en.wikipedia.org";

See more info in the wikiploy rollout example.

See also

[edit]
[edit]