Manual:$wgRedirectScript

From mediawiki.org
This page is a translated version of the page Manual:$wgRedirectScript and the translation is 100% complete.
サーバー URL とファイル パス: $wgRedirectScript
redirect.php の URL。
導入されたバージョン:pre 1.1.0
除去されたバージョン:1.22.0 (Gerrit change 56394; git #f9e54577)
許容される値:(相対パス)
既定値:"{$wgScriptPath }/redirect.php" (1.2+)

"{$wgScriptPath}/redirect.phtml" (pre 1.1.0 - 1.1)

(注: この変数の既定値は、他の変数に依存します。例えば、LocalSettings.php の実行後に Setup.php 内で値が設定される変数です)

詳細

redirect.php の、DOCUMENT_ROOT からの相対 URL。 この設定は、MediaWiki の初期のバージョンとの後方互換性のために使用されました。 ノスタルジア外装により、特別ページのドロップダウンメニューで採用。

関連項目