This is an information page. It is not a Wikipedia policy or guideline; rather, its purpose is to explain certain aspects of Wikipedia's norms, customs, technicalities, or practices. It may reflect varying levels of consensus. |
Various Wikipedia gadgets and user scripts host their source code in an external repository. This allows for distributed version control, source code management, and other functionality not available within the MediaWiki software that Wikipedia runs on.
Source code is hosted externally as part of a repository using Git or similar software. To deploy, the code is copied over to Wikipedia either manually or via automation. This may include "build" step, such as bundling and compiling modern (ES6+) JavaScript into browser-compatible JavaScript, or transcompiling from TypeScript or another language into JavaScript.
Using dedicated software development processes and infrastructure makes it easier to organise code, create and run unit tests, implement Model–view–controller or similar patterns, and collaborate with other developers.
This list is incomplete; you can help by adding missing items. |