Mediawiki
Wiki software package that powers Wikipedia and all other Wikimedia projects, serving hundreds of millions of users each month.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: The official website could not be fetched this time, so the content below is based on existing knowledge of MediaWiki. For details such as version requirements, please refer to the latest official documentation.
Introduction
MediaWiki is free and open-source wiki software developed and maintained by the Wikimedia Foundation. It was originally developed for Wikipedia, and today Wikipedia, Wiktionary, Wikimedia Commons and other projects all run on it. Many companies, communities and individuals around the world also use it to build their own wiki sites.
Key Features
- Wikitext editing: Write pages in the wikitext markup language, or install the VisualEditor extension for a WYSIWYG editing experience.
- Full revision history: Every edit is saved as a revision. You can compare revisions, revert changes and view each contributor's record.
- Templates and transclusion: Reuse content and formatting with templates, such as infoboxes and navigation boxes.
- Categories and namespaces: Organize large amounts of content with categories, namespaces and subpages.
- User and permission management: Supports user groups and fine-grained permission settings, and lets you protect pages and block users.
- Watchlists and recent changes: Make it easy to track content changes and patrol the community.
- Multilingual support: The interface has been translated into hundreds of languages.
- Extensions and skins: A large number of extensions (such as Semantic MediaWiki, Cite and ParserFunctions) and interchangeable skins are available.
- API: Provides the Action API, making it easy for bots, scripts and third-party tools to integrate.
Target Users and Use Cases
It suits knowledge management scenarios that involve many collaborators, large amounts of content and a need to keep revision history, for example:
- Building encyclopedia-style websites or community wikis, such as game wikis and fan wikis
- Internal company knowledge bases and technical documentation
- Documentation and community handbooks for open-source projects
- Organizing materials for educational and research institutions
Core Strengths
- Its use at the scale of Wikipedia has long proven its performance and stability
- A mature community, extensive documentation and a large extension ecosystem
- Released under the GPL license, completely free and self-hostable
- A flexible content structure, well suited to building up and maintaining large knowledge bases over the long term
Installation and Deployment
- Prepare a web server (such as Apache or Nginx), PHP and a database.
- Download the MediaWiki release package from the official website and extract it to your website directory.
- Visit the site in a browser and follow the web installer to complete the setup. The installer will generate
LocalSettings.php. - Edit
LocalSettings.phpto enable extensions, change skins, adjust permissions and so on.
You can also deploy it in containers using the official mediawiki image on Docker Hub. Long-term support (LTS) versions are also available officially and are suitable for production environments.
Technical Requirements
- Language: PHP (the specific version requirements vary with the MediaWiki version; see the official installation documentation)
- Database: MySQL/MariaDB, PostgreSQL or SQLite
- Optional components: Object caching (such as Memcached or APCu), ImageMagick for thumbnails, full-text search extensions and more
Notable Characteristics
- Compared with lightweight wikis or note-taking tools, MediaWiki is powerful, but it also has a higher barrier to configuration and maintenance, and customization relies mainly on editing configuration files and installing extensions.
- The default wikitext syntax takes a little time to learn; you can enable VisualEditor to lower the barrier to editing.
- It is a great fit for public, open collaboration. If you use it as a private knowledge base, you need to configure access permissions yourself.
Discover more
Dokuwiki
Easy to use, lightweight, standards-compliant wiki engine with a simple syntax allowing reading the data outside the wiki. All data is stored in plain text files, therefore no database is required.
WiKiss
Wiki, simple to use and install.
BookStack
Organize and store information. Stores documentation in a book like fashion.
Gitit
Wiki program that stores pages and uploaded files in a git repository, which can then be modified using the VCS command line tools or the wiki's web interface.
Pepperminty Wiki
Complete markdown-powered wiki contained in a single PHP file.
PmWiki
Wiki-based system for collaborative creation and maintenance of websites.