Extension:Examples

The Example extension extends the  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.

Installation

 * special>Special:ExtensionDistributor/examples|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.