Wikipedia:Wikiploy

Wikiploy is a tool for deploying user scripts and gadgets on Wikipedia (and other wikis based on MediaWiki). With this tool, you can easily deploy your JS, CSS, and more. With a single click or keystroke, you can deploy from your favorite Git repository to as many wikis as you need. Yes, you read that correctly — you can quickly deploy your script to Meta, Wikipedia, and Wikisource, and finally keep all deployments in sync.
The tool uses NodeJS to deploy scripts quickly. If you're just starting, you might want to use GitHub: Wikiploy Rollout Example as a template for your gadget. You can also use wiki2git to export an existing gadget and then add Wikiploy to it.
Note that by using NodeJS, you can create unit tests and use various build tools like Browserify, Webpack, etc. So you can test automatically, build automatically, and deploy automatically. See more in: Wikiploy: Building your project.
See also
[edit]- Wikipedia:Wiki-to-Git — Wiki2git can be used to move your gadget code from Wikipedia to GitHub.
External links
[edit]- GitHub: Wikiploy — source code, official place to submit ideas and report bugs.
- npm: wikiploy — official package in the npm repository.
- Examples:
- GitHub: Wikiploy Rollout Example — example project with script deployment and instructions (including a discussion of the sample code).
- GitHub: veAutocorrect — practical example of using Wikiploy for multiple deployments.
- GitHub: wiki-pendingChangesHelper — example of integrating a builder script with Wikiploy (the builder is used to prepare both a gadget and a TamperMonkey user script).
- GitHub: wiki-global-scripts — building a personal global.css from Less.