Correct spelling of $wgLinkTitlesSourceNamespaces.

Fixes #49.
This commit is contained in:
Daniel Kraus
2020-07-24 09:35:45 +02:00
parent cd670b6a2d
commit 02102ec2f5

View File

@ -287,10 +287,9 @@ dummy pages for variants of page titles with different cases.
Smart mode is enabled by default. You can disable it to increase performance of Smart mode is enabled by default. You can disable it to increase performance of
the extension. the extension.
### Dealing with custom namespaces ### Dealing with custom namespaces
$wgLinkTitlesSourceNamespace = []; $wgLinkTitlesSourceNamespaces = [];
Specifies additional namespaces for pages that should be processed by the Specifies additional namespaces for pages that should be processed by the
LinkTitles extension. If this is an empty array (or anything else that PHP LinkTitles extension. If this is an empty array (or anything else that PHP
@ -316,7 +315,7 @@ no links at all because there are no target namespaces at all.
#### Example: Default configuration #### Example: Default configuration
$wgLinkTitlesSourceNamespace = []; $wgLinkTitlesSourceNamespaces = [];
$wgLinkTitlesTargetNamespaces = []; $wgLinkTitlesTargetNamespaces = [];
$wgLinkTitlesSamenamespace = true; $wgLinkTitlesSamenamespace = true;
@ -325,7 +324,7 @@ namespace only (i.e., the same namespace that the source page is in).
#### Example: Custom namespace only #### Example: Custom namespace only
$wgLinkTitlesSourceNamespace = [ NS_MY_NAMESPACE]; $wgLinkTitlesSourceNamespaces = [ NS_MY_NAMESPACE];
$wgLinkTitlesTargetNamespaces = []; $wgLinkTitlesTargetNamespaces = [];
$wgLinkTitlesSamenamespace = true; $wgLinkTitlesSamenamespace = true;
@ -335,7 +334,7 @@ is in).
#### Example: Link to `NS_MAIN` only #### Example: Link to `NS_MAIN` only
$wgLinkTitlesSourceNamespace = [ NS_MY_NAMESPACE]; $wgLinkTitlesSourceNamespaces = [ NS_MY_NAMESPACE];
$wgLinkTitlesTargetNamespaces = [ NS_MAIN ]; $wgLinkTitlesTargetNamespaces = [ NS_MAIN ];
$wgLinkTitlesSamenamespace = false; $wgLinkTitlesSamenamespace = false;