Jump to content

Template:Extension/Sample

From mediawiki.org
Revision as of 13:46, 12 February 2014 by 176.253.248.56 (talk) (adding an example name)


MediaWiki extensions manual
Extension/Sample
Release status: beta
MediaWiki
License No license specified
Download
Translate the Extension/Sample extension if it is available at translatewiki.net

The MyExtension extension does foo.

Installation

  • Download and move the extracted Extension folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Extension
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/Extension/Extension.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

User rights

See also