Manual:$wgScriptPath

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎Ελληνικά • ‎English • ‎français • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский
Paths: $wgScriptPath
The base URL path.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: relative path
Default value: '/wiki', but automatically overridden by installer

Other settings: Alphabetical | By Function


Details[edit | edit source]

The base URL path (in relation to DOCUMENT_ROOT). This might be a virtual path (using apache mod_rewrite for example) or the actual directory into which MediaWiki is installed.

Note: A lot of other variables are defined relative to this one. If you redefine this in your LocalSettings.php then all dependent variables will need redefining too!

This will be set to your base directory in LocalSettings.php at installation time. See Manual:Short URL for details.

See also[edit | edit source]