Manual:$wgRedirectSources/pl

Category:MediaWiki configuration settings/pl#RedirectSourcesCategory:MediaWiki configuration settings introduced in version 1.5.0/pl#RedirectSourcesCategory:MediaWiki configuration settings still in use/pl#RedirectSourcesCategory:Interwiki variables/pl#RedirectSources
Interwiki links and sites: $wgRedirectSources
Regular expression to restrict URLs which will be displayed as "redirected from" links.
Wprowadzono w wersji:1.5.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(regular expression) or false
Domyślna wartość:false

Szczegóły

Other wikis which set $wgDisableHardRedirects to false may redirect users to pages of your wiki, telling your MediaWiki install from what URL they came from. Set this regular expression to restrict origin URLs which will be displayed as "redirected from" links to them.

It might look something like this:

$wgRedirectSources = '!^https?://[a-z-]+\.wikipedia\.org/!';

(For instance, this example configuration is pointless because Wikipedia doesn't have hard redirects enabled.)

Leave as false to avoid displaying any incoming redirect markers. This does not affect intra-wiki redirects, which don't change the URL.

Category:Redirect variables/pl Category:Script variables/pl
Category:Interwiki variables/pl Category:MediaWiki configuration settings/pl Category:MediaWiki configuration settings introduced in version 1.5.0/pl Category:MediaWiki configuration settings still in use/pl Category:Redirect variables/pl Category:Script variables/pl