This page is a translated version of the page Manual:$wgScript and the translation is 100% complete.
服务器URL及文件路徑: $wgScript
index.php的URL。
引进版本:pre 1.1.0
移除版本:仍在使用
允许的值:(相对路径)
默认值:"{$wgScriptPath }/index.php" (1.2+)

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

(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)

详情

相对于DOCUMENT_ROOT,index.php的相对URL。

$wgArticlePath 是相对于$wgScript定义的。 如果您在LocalSettings.php 中重新定义了本参数,请不要忘记去更新$wgArticlePath

参见