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:"{$wgScriptPathManual:$wgScriptPath}/index.php"
"{$wgScriptPathManual:$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.phpManual:Setup.php, after LocalSettings.phpManual:LocalSettings.php is executed)
Other settings: Alphabetical | By function

Details[edit]

The URL of index.php, relative to DOCUMENT_ROOT.

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

See also[edit]