Manual:$wgExtensionCredits/ja

詳細
拡張機能のタイプの配列と拡張機能の名前、バージョン、著者とURLが内部に含まれます. このクレジット情報はwikiのSpecial:Versionページに追加されるので、ユーザーはどの拡張機能がインストールされたのか、そしてそれらに関する詳細な情報を見ることができるようになります.

This credit information gets added to the wiki's Special:Version page, allowing users to see which extensions are installed, and to find more information about them.

これはLocalSettings.phpで説明されているコンフィギュレーション設定ではありません. 典型的な拡張機能の開発者はこのグローバル変数に含まれる配列に追加するコードを書きます.

Special:MyLanguage/Manual:Extensionsをご覧下さい

使用法
拡張機能の開発者は次のコードを持つ配列を追加できます:

The description and author fields get parsed as wiki syntax. This is often used to provide links to the author's homepage in the author field. In version 1.12 and newer, descriptionmsg will override description.

type
$type は以下のいずれかにしてください:
 * — API 拡張機能群
 * — スパム対策拡張機能群
 * (1.21 で導入) — ウィキデータ関連の拡張機能群
 * (1.11 で導入) — メディア ハンドラー群
 * — MediaWiki の構文解析の機能の変更、追加、差し替えを行なう拡張機能群
 * - Semantic MediaWiki and dependent extensions
 * — スキン (外装) を変更する拡張機能群
 * — 特別ページを追加する拡張機能群
 * (1.6 で導入) — 変数を新たに作成する
 * — その他のことを行なう

descriptionmsg
The value of descriptionmsg will be treated as the message key for the extension description: see Special:MyLanguage/Manual:Developing extensions. As a standard, it's in the form  (all lower case), or the prefix used for the message keys of the extension, followed by the   suffix.

The description:
 * Must be a single brief sentence: it has no closing period and implies "this extension" as a subject when needed.
 * Is usually in one of the following forms:
 * "Does"/"Adds"/"Allows to do" something (e.g. " Adds tag for poem formatting ");
 * "Allow to do"/"Do" something, with the wiki or the users as subject (e.g. "Hide individual revisions from all users for legal reasons, etc.");
 * "Special page to do" something, or other noun-sentence to describe what the extension is composed of (e.g. "Special page to view global file usage", "Wikimedia specific messages").
 * Includes a link to the (main) added special page(s) if any, using "special page" or "do something" etc. as link labels.

author
Since (mw 1.18?), the author list can contain the special hackish '...' to denote other authors. The triple dot will make MediaWiki insert the version-poweredby-others message.

Example:

license
This page also looks for a file named either COPYING or LICENSE (optional .txt extension) and provides a link to view said file. When the 'license-name' key is specified, this file is interpreted as wikitext.

"license-name" uses the short name of the license (used as label for the link), such as "GPL-2.0" or "MIT" adhering to the list of identifiers at spdx.org.

Example:

関連項目

 * Manual:Hooks/SpecialVersionExtensionTypes