Manual:$wgRedirectScript/zh

From Linux Web Expert

<translate> Server URLs and file paths</translate>: $wgRedirectScript
index.php的URL。
<translate> Introduced in version:</translate>pre 1.1.0
<translate> Removed in version:</translate>1.22.0 (Gerrit change 56394; git #f9e54577)
<translate> Allowed values:</translate>(相对路径)
<translate> Default value:</translate>"{$wgScriptPath }/redirect.php" (1.2+)

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

(<translate> Note:</translate> <translate> The default value of this variable depends on other variables, such as the values set in <tvar|1>Setup.php </>, after <tvar|2>LocalSettings.php </> is executed</translate>)

详情

redirect.php 的 URL,相对于 DOCUMENT_ROOT。 这用于向后兼容早期版本的 MediaWiki。 它被nostalgia皮肤用于特殊页面下拉列表。

参见