Manual:$wgExtensionMessagesFiles/ja

詳細
拡張機能名を、メッセージを含むファイルの名前にマッピングする連想配列. ファイル内で $messages という名前の変数を作成する必要があります.

例:

MediaWiki 1.23 での挙動の変更
Since MediaWiki 1.23, use of this variable to define messages is discouraged; instead, store messages in JSON format and use $wgMessagesDirs. For setting other variables than $messages, $wgExtensionMessagesFiles should still be used.

If there is an entry in $wgMessagesDirs with the same key as one in $wgExtensionMessagesFiles, then any $messages variables set in the $wgExtensionMessagesFiles file will be ignored. This means an extension that only provides messages can be backwards compatible by using both $wgExtensionMessagesFiles and $wgExtensionMessagesDirs, and only one of the two will be used depending on what the version of MediaWiki supports.

関連項目

 * Requests for comment/Localisation format for background
 * Localisation/ja