Manual:$wgExtensionAliasesFiles

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgExtensionAliasesFiles and the translation is 36% complete.

Other languages:
English • ‎日本語 • ‎polski
Extensions: $wgExtensionAliasesFiles
Aliases for special pages provided by extensions.
導入されたバージョン: 1.13.0 (r36631)
除去されたバージョン: 1.16.0
可能な値: 配列
既定値: array()
他の設定: アルファベット順 | 機能順

詳細[edit]

Aliases for special pages provided by extensions.

Instead of using $wgExtensionAliasesFiles, use $wgExtensionMessagesFiles instead. For an example, see the documentation about setting up a SpecialPage extension.

1.16 より前[edit]

Since 1.16 Use $specialPageAliases in a file referred to by $wgExtensionMessagesFiles instead of this variable.


MediaWiki バージョン: 1.15

Associative array mapping special page to array of aliases. First alternative for each special page will be used as the normalized name for it. English aliases will be added to the end of the list so that they always work. The file must define a variable $aliases.

例:

$wgExtensionAliasesFiles['Translate'] = __DIR__ . '/Translate.alias.php';