Jump to content

Manual:$wgScript

From mediawiki.org
Server URLs and file paths: $wgScript
The URL of index.php.
Introduced in version:Before 1.1.0
Removed in version:Still in use
Allowed values:(relative path)
Default value:"{$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)

Details

The URL of index.php, relative to DOCUMENT_ROOT.

$wgArticlePath is defined relative to $wgScript. If you redefine this in your LocalSettings.php then you must also make sure you update $wgArticlePath.

See also