This page is a translated version of the page Extension:Example and the translation is 30% complete.
Other languages:
English • ‎español • ‎français • ‎português • ‎русский • ‎中文 • ‎日本語
MediaWiki 拡張機能マニュアル
OOjs UI icon advanced.svg
リリースの状態: 安定
Example extension screenshot.png
作者 Krinkle, Kaldari
MediaWiki 1.19
データベースの変更 はい
ライセンス GNU 一般公衆利用許諾書 2.0 以降
  • $wgExampleMyWord
  • $wgExampleWelcomeColorDefault
  • $wgExampleEnableWelcome
  • $wgExampleWelcomeColorDays
translatewiki.net で翻訳を利用できる場合は、Example 拡張機能の翻訳にご協力ください
使用状況とバージョン マトリクスを確認してください。
問題点 未解決のタスク · バグを報告

The Example extension is a collection of small extensions that extend the BoilerPlate extension, implementing some common features. It has many additional annotations and inline comments explaining how it all works. Read the Example extension, base your own code on the BoilerPlate extension.


  • Download and extract the files in a directory called examples in your extensions/ folder. If you're a developer then instead you should use git clone to clone the mediawiki/extensions/examples repository in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'examples' );
  •   完了 – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.