Manual:$wgRedirectSources

From MediaWiki.org

Jump to: navigation, search
Interwiki: $wgRedirectSources
Regular expression to restrict URLs which will be displayed as 'redirected from' links.
Introduced in version: 1.5.0
Removed in version: still in use
Allowed Values: regexp or false
Default Value: false

Other settings: Alphabetical | By Function


[edit] Details

If local interwikis are set up which allow redirects, set this regular expression to restrict URLs which will be displayed as 'redirected from' links.

It might look something like this:

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

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

Personal tools