Extension:Example

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Example

Release status: stable

Implementation Example
Description
Author(s) Krinkle, Kaldari
MediaWiki 1.19
License GPL2+
Download
Check usage and version matrix

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]

  • Download Example and extract the files in a directory called "examples/Example" in your extensions/ folder.
  • Add the following code to your LocalSettings.php (at the bottom)
require_once( "$IP/extensions/examples/Example/examples/Example.php" );
  • Yes check.svg Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.


See also [edit]