跳转到内容

模板:Extension/Sample

来自天灾之下:危险连接资料站


模板:Extension

The MyExtension extension does foo.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/Extension</tvar>|Download]] and move the extracted <tvar name=name>Extension</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
    
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'Extension' );
    
  • Yes <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

脚本错误:没有“Extension”这个模块。

User rights

See also