Extension:Examples

The Example extension is an example of how to use Extension:BoilerPlate to create an extension implementing some common extension features. It has many additional annotations and inline comments explaining how it all works. Read the Example extension, base your own code on the BoilerPlate extension. They're in the same examples repository.

Installation

 * Download and extract the files in a directory called  in your   folder. If you're a developer then instead you should use git clone to clone the mediawiki/extensions/examples repository in your   folder.
 * Add the following code at the bottom of your LocalSettings.php:


 * ✅ – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.