Manual:$wgExtensionAliasesFiles

From MediaWiki.org
Jump to: navigation, search
Extensions: $wgExtensionAliasesFiles
Aliases for special pages provided by extensions.
Introduced in version: 1.13.0 (r36631)
Removed in version: 1.16
Allowed values: (array)
Default value: array()

Other settings: Alphabetical | By Function


Details [edit]

Aliases for special pages provided by extensions. Deprecated.

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

Prior to 1.16 [edit]

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

MediaWiki version: 1.15

Associative array mapping special page to array of aliases. First alternative for each special page will be used as the normalised 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.

Example:

$wgExtensionAliasesFiles['Translate'] = dirname(__FILE__).'/Translate.alias.php';