Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
upstream: github.com/wikimedia/mediawiki (opens in new tab) · github.com/requarks/wiki (opens in new tab)
Pick MediaWiki
For a large open knowledge base that wants wikitext, templates, categories and talk pages.
Pick Wiki.js
For documentation written in Markdown or a visual editor, with path-based permissions and single sign-on built in.
MediaWiki and Wiki.js share a word in their names and little else. MediaWiki is the PHP engine behind Wikipedia, made for large open reference works. Wiki.js is a Node.js documentation wiki aimed at teams and projects.
MediaWiki uses wikitext, with categories, templates, talk pages and full revision history. VisualEditor and Lua-scripted templates through Scribunto come with the download, and a large extension catalogue adds more. Anyone who has edited Wikipedia will recognise it.
Wiki.js 2.x gives authors Markdown, a visual editor or raw HTML. It organises pages by path and tags, and its modules cover search engines, rendering and storage, including Git synchronisation.
Wiki.js assigns permissions to groups and narrows them with page rules, so one group can see a path that another cannot. LDAP, SAML, OIDC, CAS, social providers and optional two-factor authentication are included.
MediaWiki's documentation says it was designed to be as open as possible. A whole wiki can be private, but per-page read restrictions are outside its design, and single sign-on comes through extensions.
Idle at first boot on a GCP e2-standard-2, MediaWiki with MariaDB used ~106 MB of RAM and ~2.2 GB of disk, and Wiki.js with PostgreSQL ~94 MB and ~1.4 GB (both September 2026). Memory is close; Wiki.js takes less disk.
MediaWiki is 3 out of 5. Our snippet runs the community-maintained mediawiki:1.46 image with MariaDB; after the web installer you download LocalSettings.php, mount it and restart. Upstream says no official Docker image is recommended for third-party production. Run update.php after upgrades.
Wiki.js is 2 out of 5: the official :2 image, PostgreSQL and a setup wizard, on its own domain or subdomain. Its 3.x line supports PostgreSQL only and moving to it means export and import.
Change the example passwords in both snippets.
MediaWiki is GPL-2.0-or-later. Wiki.js is AGPL-3.0.
Choose MediaWiki for a community or public encyclopedia where templates, categories and discussion pages carry the work. Choose Wiki.js for internal or project documentation where Markdown, access rules and single sign-on matter.
See also DokuWiki vs MediaWiki and Wiki.js vs BookStack. Install files are on the MediaWiki and Wiki.js pages.
MediaWiki lists a lower minimum: 512 MB vs 1024 MB for Wiki.js.
No. MediaWiki is GPL-2.0-or-later, Wiki.js is AGPL-3.0.
MediaWiki for a public, Wikipedia-style reference. Wiki.js for team documentation with Markdown and access rules.
Its native markup is wikitext. Wiki.js has a Markdown editor.
Wiki.js, through groups and page rules. MediaWiki says it was not designed for per-page view restrictions.
MediaWiki needs update.php after upgrades. Moving Wiki.js from 2.x to 3.x is an export and import, not an in-place upgrade.
Paid link — we earn a commission if you shop through it.
A structured team documentation wiki, or the engine behind Wikipedia.
Real-time co-editing in a Notion-style workspace, or a modular wiki with page rules and SSO in the free build.
Text files and plugins, or a Node.js wiki with several editors and a database.