Extension:Examples
Page needs to be updated after finishing the phab:T156568 ticket as it's a major refactor of the extension to a more recent architecture MediaWiki extensions and use of MediaWiki 1.25+. |
Examples Release status: stable |
|
---|---|
![]() |
|
Implementation | Example |
Author(s) | Krinkle, Kaldari |
MediaWiki | 1.32 |
License | GNU General Public License 2.0 or later |
Download | |
Translate the Examples extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The Example extension is a collection of small extensions that extend the BoilerPlate extension, implementing some common 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.
InstallationEdit
- Download and extract the files in a directory called
examples
in yourextensions/
folder. If you're a developer then instead you should use git clone to clone the mediawiki/extensions/examples repository in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'examples' );
- Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.