Tool review

MediaWiki: what it does and how to run it

the software behind Wikipedia, for a knowledge base you run

Independent review. Some links are affiliate links; they never affect the verdict or the ranking. Full disclosure.

MediaWiki is the platform Wikipedia runs on: pages written in wikitext or a visual editor, a complete revision history with diffs, categories, templates and transclusion for content that must stay consistent across pages. It suits reference material with many cross-links and a long life — standards, procedures, an internal encyclopaedia. It does not suit a marketing site or a simple team wiki; the editing model takes learning and the look needs work out of the box.

Choose it when the content graph is the point.

What MediaWiki actually does

This entry collects the essentials: what the project does, what licence it ships under, and where it fits next to the alternatives. Check the official site for the current feature list.

Core features

  • Wikitext and a visual editor side by side
  • Full revision history with diffs, rollback and attribution
  • Namespaces, categories, templates and transclusion
  • Hundreds of extensions for auth, media and structured data

Where it is strongest

  • proven at enormous scale
  • excellent revision tracking

Who it is for

projects that need a long-lived, heavily linked reference base

Nothing else has been stress-tested by an encyclopaedia: templates, categories and transclusion are a genuine content-modelling system rather than decoration

How MediaWiki compares

These are the entries closest to MediaWiki on this site — same category, overlapping job. Licence and hosting model are the two columns worth reading first, because they decide your total cost more than the feature list does.

ToolLicenceCostBest for
MediaWiki This pageGPL-2.0Free to self-hostthe software behind Wikipedia, for a knowledge base you run
BookStackMITFree to self-hostSimple, organized knowledge base platform
DirectusGPL-3.0Free to self-hostInstant REST and GraphQL APIs over your database
GhostMITFree to self-hostA focused, modern platform for professional publishing

How to get MediaWiki running

  1. Pick the hostA 2 GB VPS covers most of these apps for a small team. If you would rather not run an operating system, a managed app host gives you a one-click container with backups and TLS included.
  2. Provision the runtimeMediaWiki ships as a container image or a documented install script. Pin a release tag rather than tracking latest, so an upstream change never surprises you on a Friday.
  3. Attach persistent storagePoint the data volume at a path you back up. Most of these apps keep everything — users, settings, history — in one database plus an uploads folder.
  4. Put it behind a domain with TLSAdd an A record, then terminate TLS at your proxy or at the host. Set the public URL in the app's environment before first login, because several apps bake it into links.
  5. Secure the admin accountChange the default credentials, enable 2FA where offered, and close registration unless the app is meant to be public.
  6. Schedule the first backupA nightly snapshot that you have actually restored once is worth more than any feature on this page.

Licence and cost

GPL-2.0. Copyleft. If you distribute a modified version, the source has to be released under the same licence. Running it internally is unrestricted.

Self-hosting removes the subscription but not the work: patching, backups, monitoring and the odd 2am alert. Budget a few hours a month for a small deployment.

Questions people ask

Is MediaWiki free to use?

Yes. MediaWiki is released under GPL-2.0, so you can install and run it without a subscription. Copyleft. If you distribute a modified version, the source has to be released under the same licence. Running it internally is unrestricted. Hosting and maintenance still cost money — a small VPS or a managed app host is the usual answer.

Can I self-host MediaWiki?

Yes — that is the point of this listing. You need a server with a supported runtime, persistent storage and a backup schedule. A managed app host removes most of the setup work if you would rather not maintain the operating system yourself.

What is a good alternative to MediaWiki?

BookStack is the closest option in the same category on this site — Simple, organized knowledge base platform. It is worth comparing licence terms before you pick.

Who is MediaWiki aimed at?

projects that need a long-lived, heavily linked reference base MediaWiki uses the GPL-2.0 licence. Start with a single team and a single workflow rather than rolling it out to the whole company at once.

tf
techifyFlow editorial

We test and document open-source and AI tools for small teams. Every entry is reviewed against the project's own documentation and licence before it is listed. Read the method.