Extension:Example
From MediaWiki.org
Example Release status: stable |
|
---|---|
Implementation | Example |
Description | |
Author(s) | Krinkle, Kaldari |
MediaWiki | 1.19 |
License | GPL2+ |
Download |
Git [?]:
|
Check usage and version matrix; code metrics |
The Example extension is an example of how to use Extension:BoilerPlate to create an extension, including many additional annotations and inline comments explaining how it all works.
Installation[edit | edit source]
- Download Example and extract the files in a directory called
examples/Example
in yourextensions/
folder. If you're a developer then instead you should use git clone to clone the extension's repository in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/examples/Example/examples/Example.php";
Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.