Manual:$wgScript

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎русский • ‎العربية • ‎فارسی • ‎中文 • ‎日本語
Paths: $wgScript
The URL of index.php.
Introduced in version:pre 1.1.0
Removed in version:still in use
Allowed values:relative path
Default value:"{$wgScriptPath }/index.php"
"{$wgScriptPath }/index.phtml" (before 1.2.0)
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)
Other settings: Alphabetical | By function

Details[edit]

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[edit]