Manual:$wgScript/de-formal

From Linux Web Expert

Revision as of 21:09, 16 September 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Server URLs and file paths</translate>: $wgScript
The URL of index.php.
<translate> Introduced in version:</translate>pre 1.1.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(relative path)
<translate> Default value:</translate>"{$wgScriptPath }/index.php" (1.2+)

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

(<translate> Note:</translate> <translate> The default value of this variable depends on other variables, such as the values set in <tvar|1>Setup.php </>, after <tvar|2>LocalSettings.php </> is executed</translate>)

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