MediaWiki Extensions
MediaWiki Extensions
MediaWiki extensions are additional features or functionalities that can be added to the MediaWiki software, which is the platform behind Wikipedia and many other wikis. These extensions allow for customization and enhancement of the core MediaWiki system to better meet the needs of specific projects or communities.
Introduction
Extensions are essential for expanding the capabilities of MediaWiki installations. They can range from simple enhancements, such as additional user interface elements, to complex systems that integrate with external services or databases. MediaWiki has a large repository of extensions that are maintained by both the community and professional developers.
Types of Extensions
Functional Extensions
Functional extensions add new capabilities to MediaWiki, such as:
- VisualEditor: A WYSIWYG editor for editing wiki pages.
- Semantic MediaWiki: Allows for the integration of semantic data into the wiki.
User Interface Extensions
These extensions enhance the look and feel of MediaWiki, including:
- Vector: A modern skin that improves user experience.
- MobileFrontend: Provides a mobile-friendly interface for users accessing the wiki on smartphones.
Integration Extensions
Integration extensions connect MediaWiki to other platforms or services, such as:
- OAuth: Allows users to log in with credentials from other services.
- CiteThisPage: Provides tools for users to cite pages easily.
Installing Extensions
To install an extension, a user typically needs to follow these steps: 1. Download the extension files. 2. Place the files in the 'extensions' directory of the MediaWiki installation. 3. Add the necessary configuration code to the 'LocalSettings.php' file. 4. Run the update script to ensure the extension is properly integrated.
Popular Extensions
- ConfirmEdit: A tool to prevent spam by adding CAPTCHA challenges.
- PageForms: Simplifies the creation of forms within wiki pages.
- MultimediaViewer: Enhances the way images and media are displayed on the wiki.