Template:Extension/Sample

From Linux Web Expert

Revision as of 19:38, 14 October 2021 by imported>Samwilson (Add 'help' param.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


MediaWiki extensions manual
MyExtension
Release status: beta
MediaWiki
License No license specified
Download No link
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the Extension/Sample extension if it is available at translatewiki.net

The MyExtension extension does foo.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/Extension/Sample</tvar>|Download]] and move the extracted <tvar name=name>Extension/Sample</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Extension%2FSample
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/Extension/Sample/Extension/Sample.php";
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Configuration parameters

User rights

See also