Patch demo
Appearance

Patch Demo is a web site that lets you spin up short-lived MediaWiki instances for testing changes from Wikimedia's Gerrit code review. You can create wikis with unmerged, work-in-process changes.
Create temporary, public wikis to test:
- MediaWiki core
- Extensions and skins
- Multiple patches together
- Different MediaWiki versions
- Wiki farms – Multiple wikis which share a CentralAuth (limited)
Public instance: https://patchdemo.wmcloud.org/
Quickstart
[edit]Requirements
[edit]- Wikimedia global account
- (optional) Get added to the Continuous integration/Allow list
Create a wiki
[edit]- Go to https://patchdemo.wmcloud.org/
- Sign in to your Wikimedia global account
- When prompted click "Allow" to let Patch Demo see your account info
- Choose a MediaWiki version – Defaults to
master - (Optional) Paste the URL to any Gerrit changes
- (Optional) Give your wiki a custom name. The name will be used to create a stable URL name for the wiki
- (Optional) Use "Create Wikifarm" to generate a set of wikis with a shared Central Authentication.
- Select an extension bundle or choose which extension to install – Defaults to
Wikimedia - Click "Create demo"
Your wiki will be ready in a few minutes.
Use your wiki
[edit]After your wiki is ready, you'll be able to:
- Link – each wiki is a public, sharable link where you can access your wiki (e.g.,
https://deadbeef.catalyst.wmcloud.org) - Edit – You may edit your wiki(s) to:
- Use the latest version of updated Gerrit patches.
- Change MediaWiki versions.
- Change extensions.
- Change other configurations like the wiki landing page, language code, core documentation, image loading method, proxying articles from Wikipedia.org or IP Masking.
- Delete – Once you're done testing, delete your wiki.
Tips
[edit]- Deletion: Click the Delete link in the wiki table on the Patch Demo homepage when you're finished testing.
- Wikis come with a default expiry period and will be removed automatically once that time frame is up and will handle deletion if not done proactively.
- Users have the ability to extend the expiry date but we reserve the right to modify/override this whenever necessary for space or other purposes.
- Phabricator announcement: If you include a
Bug: TXXXtrailer in your Gerrit git commit message,PatchDemoBotwill comment on Phabricator with a link to your wiki. Toggle the "Announce wiki on Phabricator" checkbox to disable. - Gerrit links: Gerrit will show a link on your change to your Patch Demo instance
Limitations
[edit]- Not suitable for security-sensitive testing
- MediaWiki only – no other services
- Wiki farms support is basic – As of early 2026, each wiki in a wiki farm will share all enabled extensions, languages, and a subdomain (i.e.,
https://abcd1234.catalyst.wmcloud.org/wiki1andhttps://abcd1234.catalyst.wmcloud.org/wiki2) - No dependency checking – While choosing an extension bundle should work fine, hand-selecting dependencies means wiki creation might fail if you're missing a dependency.
Report Issues or Request Features
[edit]File a task for the Phabricator project Catalyst (PatchDemo)
Add an Extension
[edit]See ADDING_EXTENSIONS.md for instructions on adding new extensions.
Project components/code
[edit]
Patch Demo is a project that spans a handful of code repositories:
| Component | Description |
|---|---|
| patchdemo | Web frontend (PHP) |
| catalyst-api | Backend API (Go) |
| catalyst-tofu | Cloud VPS Infrastructure management (OpenTofu) |
| ci-charts | Helm charts that make MediaWiki instances |
Other links
[edit]- Catalyst documentation: https://wikitech.wikimedia.org/wiki/Catalyst
- Catalyst gitLab group: https://gitlab.wikimedia.org/repos/test-platform/catalyst
- Phabricator workboard: https://phabricator.wikimedia.org/project/view/7367/
- Toolhub: toolhub:tools/patchdemo