Manual:$wgRedirectSources

This page is a translated version of the page Manual:$wgRedirectSources and the translation is 50% complete.
インターウィキ リンクとサイト: $wgRedirectSources
Regular expression to restrict URLs which will be displayed as "redirected from" links.
導入されたバージョン:1.5.0
除去されたバージョン:使用中
許容される値:(正規表現) または false
既定値:false

詳細

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.

以下のようになります:

$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. これは、URL を変更しないウィキ内リダイレクトには影響しません。