Manual:$wgScript

From MediaWiki.org
(Redirected from Help:$wgScript)
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎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 | edit source]

The URL of index.php, relative to DOCUMENT_ROOT.

Note Note: $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 | edit source]