Documentation · head to head
MediaWiki vs Preact

MediaWiki
Documentation
Free open source wiki software that powers Wikipedia
- From
- Free
- Free plan
- Yes

Preact
Web Development
3kB alternative to React with the same modern API
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only MediaWiki lists wiki page editing with history; only Preact lists 3kB runtime.
- Where MediaWiki falls short: needs your own server, PHP and a database, plus ongoing upgrades.
- Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.
How do MediaWiki and Preact differ?
MediaWiki and Preact differ on pricing model and category (Documentation against Web Development). Only the attributes on which MediaWiki and Preact actually diverge.
Identical on both: starting price (Free), free tier (Yes), platforms (Web).
Which features does each one have?
They share no listed features; 7 appear only for MediaWiki and 4 only for Preact. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in MediaWiki
- Wiki page editing with history
- Multilingual interface
- Runs on PHP with MySQL, PostgreSQL or SQLite
- Extension ecosystem
- Powers Wikipedia
- Self-hosted or third-party hosting
- Free of charge
Only in Preact
- 3kB runtime
- preact/compat
- Same modern API
- Fast rendering
What is each one used for?
MediaWiki is most often brought in for internal company wiki; Preact for embedded widgets that load inside someone else’s page and must stay small. The jobs each tool is most often brought in to do.
MediaWiki
- Internal company wikinot Preact
- Public knowledge bases and community documentationnot Preact
- Technical documentation with revision historynot Preact
- Large multilingual reference sitesnot Preact
Preact
- Embedded widgets that load inside someone else’s page and must stay smallnot MediaWiki
- Marketing and content sites where JavaScript payload affects Core Web Vitalsnot MediaWiki
- Applications targeting low-bandwidth or low-powered devicesnot MediaWiki
Where do MediaWiki and Preact fall short?
MediaWiki's most cited limit: needs your own server, PHP and a database, plus ongoing upgrades. Preact's: behavioural differences from React exist in edge cases, particularly around event handling. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
MediaWiki
- Needs your own server, PHP and a database, plus ongoing upgrades
- Editing uses wikitext, which new contributors must learn
- Extra features come from extensions that need separate maintenance
- No vendor support contract; help comes from the community
Preact
- Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
- Behavioural differences from React exist in edge cases, particularly around event handling
- A much smaller community, so unusual problems have fewer existing answers than React
How much do MediaWiki and Preact cost?
MediaWiki is free to use; Preact is free to use. Plan by plan below, from each vendor's own pricing page.
MediaWiki
FreeNo published plan breakdown. See the MediaWiki review.
Preact
Free- PreactFree
- Full library
- Commercial use permitted
- No usage limits
Which should you pick?
Choose MediaWiki if
- You need wiki page editing with history.
- You want to start without paying.
- You also want multilingual interface.
Choose Preact if
- You need 3kb runtime.
- You want to start without paying.
- You also want preact/compat.
Questions people ask
- Is MediaWiki or Preact better?
- It depends on the job. MediaWiki fits internal company wiki; Preact fits embedded widgets that load inside someone else’s page and must stay small. MediaWiki starts at Free and Preact at Free.
- Which is cheaper, MediaWiki or Preact?
- MediaWiki starts at Free and Preact at Free.
- Does MediaWiki or Preact run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use MediaWiki for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is MediaWiki best used for?
- MediaWiki is most often used for internal company wiki, public knowledge bases and community documentation, technical documentation with revision history, large multilingual reference sites. Of those, internal company wiki and public knowledge bases and community documentation are not what Preact is typically brought in for.
- What can MediaWiki do that Preact cannot?
- MediaWiki covers Wiki page editing with history, Multilingual interface, Runs on PHP with MySQL, PostgreSQL or SQLite, Extension ecosystem. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.
Answered from the vendors’ own pages
MediaWiki: Is MediaWiki free?
Yes. It is free of charge and open source.
SourcePreact: Is Preact free?
Yes, open source under the MIT licence.
MediaWiki: What does MediaWiki need to run?
A server with PHP and a SQL database such as MySQL, MariaDB, PostgreSQL or SQLite.
SourcePreact: Can I use React libraries with Preact?
Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.
MediaWiki: What licence does MediaWiki use?
The GNU General Public License version 2 or later.
SourcePreact: Why choose Preact over React?
Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.
Related pages
Other head to heads
- MediaWiki vs BookStack
- MediaWiki vs Outline
- MediaWiki vs GitBook
- MediaWiki vs Confluence
- MediaWiki vs Nuclino
- MediaWiki vs Read the Docs
- MediaWiki vs Doxygen
- MediaWiki vs MkDocs
- MediaWiki vs Sphinx
- MediaWiki vs Docsify
- MediaWiki vs Slite
- MediaWiki vs Paligo
- MediaWiki vs Archbee
- MediaWiki vs Scalar
- MediaWiki vs Tettra
- MediaWiki vs Guru (knowledge platform)
- MediaWiki vs Nextra
- MediaWiki vs Scribe
- MediaWiki vs SolidJS
- MediaWiki vs Vue.js
- MediaWiki vs React
- MediaWiki vs Qwik
- MediaWiki vs Lit
- MediaWiki vs Svelte
- MediaWiki vs Alpine.js
- MediaWiki vs Stencil
- MediaWiki vs jQuery
- MediaWiki vs MUI
- MediaWiki vs Angular
- MediaWiki vs Bootstrap
- MediaWiki vs Babel
- MediaWiki vs Cloudflare Pages
- MediaWiki vs Eleventy
- MediaWiki vs HeroUI
- MediaWiki vs Memberstack
- MediaWiki vs PHP
- Preact vs BookStack
- Preact vs Outline
- Preact vs GitBook
- Preact vs Confluence
- Preact vs Nuclino
- Preact vs Read the Docs
- Preact vs Doxygen
- Preact vs MkDocs
- Preact vs Sphinx
- Preact vs Docsify
- Preact vs Slite
- Preact vs Paligo
- Preact vs Archbee
- Preact vs Scalar
- Preact vs Tettra
- Preact vs Guru (knowledge platform)
- Preact vs Nextra
- Preact vs Scribe
- Preact vs SolidJS
- Preact vs Vue.js
- Preact vs React
- Preact vs Qwik
- Preact vs Lit
- Preact vs Svelte
- Preact vs Alpine.js
- Preact vs Stencil
- Preact vs jQuery
- Preact vs MUI
- Preact vs Angular
- Preact vs Bootstrap
- Preact vs Babel
- Preact vs Cloudflare Pages
- Preact vs Eleventy
- Preact vs HeroUI
- Preact vs Memberstack
- Preact vs PHP
