Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
upstream: github.com/xwiki/xwiki-platform (opens in new tab) · github.com/wikimedia/mediawiki (opens in new tab)
Pick XWiki
For an organisation wiki with page-level rights, structured data and collaborative editing.
Pick MediaWiki
For a large open reference that follows Wikipedia conventions and runs on a much lighter footprint.
XWiki and MediaWiki are both mature, extensible wikis, designed around opposite assumptions. XWiki expects an organisation with rights and structured information. MediaWiki, the engine behind Wikipedia, expects open content.
XWiki offers a WYSIWYG editor with real-time collaboration and its own wiki syntax. Pages can carry typed classes and forms, be queried and scripted, and App Within Minutes turns those into small applications. The official image includes LibreOffice for office import.
MediaWiki uses wikitext, with categories, templates, talk pages and full history. VisualEditor is bundled, and Scribunto lets templates run Lua. Its conventions are familiar to Wikipedia editors.
XWiki has rights at wiki, space and page level. MediaWiki's documentation says it was designed to be as open as possible: you can make the whole wiki private, but per-page read restrictions are not what it is built for. If departments must not see each other's pages, this settles it.
Idle at first boot on a GCP e2-standard-2, XWiki with PostgreSQL used ~740 MB of RAM and ~3.1 GB of disk (October 2026). MediaWiki with MariaDB used ~106 MB of RAM and ~2.2 GB of disk (September 2026). Java on Tomcat is the heavier base.
Both are 3 out of 5, for different reasons.
XWiki ships an official image: our compose file pins 18.8.0 with PostgreSQL, and after a few minutes the Distribution Wizard creates the admin account and installs the default flavor. Back up the database and data volume.
MediaWiki upstream says no official Docker image is recommended for third-party production. Our snippet uses the community-maintained mediawiki:1.46 image with MariaDB: run the installer, download LocalSettings.php, mount it and restart. Change the example password, and run update.php after upgrades.
XWiki is LGPL-2.1-or-later. MediaWiki is GPL-2.0-or-later.
Choose XWiki for an internal knowledge base with permissions, forms and shared editing, on a server with memory to spare. Choose MediaWiki for a public or community encyclopedia where openness and Wikipedia-style tools are the point.
See also DokuWiki vs MediaWiki. Install files are on the XWiki and MediaWiki pages.
MediaWiki lists a lower minimum: 512 MB vs 2048 MB for XWiki.
No. XWiki is LGPL-2.1-or-later, MediaWiki is GPL-2.0-or-later.
XWiki for a company wiki with permissions and structured data. MediaWiki for a large open, Wikipedia-style reference.
XWiki supports page-level rights. MediaWiki says it was not designed for per-page view restrictions.
MediaWiki: ~106 MB idle against ~740 MB for XWiki in our first-boot checks.
XWiki supports scripting in pages. MediaWiki templates can be scripted in Lua through the bundled Scribunto extension.
Paid link — we earn a commission if you shop through it.
A structured team documentation wiki, or the engine behind Wikipedia.
The Wikipedia engine, or a Node.js documentation wiki with Markdown and page rules.
A lighter documentation wiki, or a Java platform for structured data and apps.