Manual:$wgExtensionAliasesFiles/pl

From Linux Web Expert

Revision as of 02:25, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Extensions</translate>: $wgExtensionAliasesFiles
Aliases for special pages provided by extensions.
<translate> Introduced in version:</translate>1.13.0 (r36631)
<translate> Removed in version:</translate>1.16.0
<translate> Allowed values:</translate>(tablica)
<translate> Default value:</translate>array()

Szczegóły

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.

Prior to 1.16

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

<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.15</tvar> is unsupported version</translate>">
<translate> ≤</translate> 1.15
Wersja MediaWiki:

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.

Przykład:

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