Jump to content

Template:Extension/Sample: Difference between revisions

From mediawiki.org
Content deleted Content added
No edit summary
No edit summary
Line 30: Line 30:
|schema-registry =
|schema-registry =
|license = <!-- what license your extension is released under -->
|license = <!-- what license your extension is released under -->
|download = {{WikimediaDownload|server=gerrit}} <!-- Change if not on gerrit -->
|download = {{WikimediaDownload}}
|readme =
|readme =
|changelog =
|changelog =

Revision as of 10:20, 19 August 2013


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