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
- Wikipedia:Wiki-to-Git — Wiki2git can be used to move your gadget code from Wikipedia to GitHub.
External links
- GitHub: Wikiploy — source code, official place to submit ideas and report bugs.
- npm: wikiploy — official package in the npm repository.
Template repos:
- GitHub: Wikiploy Rollout Example — example project with script deployment and instructions (including a discussion of the sample code).
- GitHub: Wikiploy ES Linter Edit – a quick template project that solves some of the problems created by phab:T197137. It makes editing faster and less of burden.
Examples (JS, Less-css, Lua):
- 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.
- GitHub: wiki-lua-piechart – Lua for Module:Piechart with some tests and deployment to sandbox (Lua and CSS). Includes a Lua MW mock (MW toolkit) used to allow offline testing.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.