Server URLs and file paths: $wgScriptPath | |
---|---|
The base URL path. | |
Introduced in version: | Before 1.1.0 |
Removed in version: | Still in use |
Allowed values: | (relative path) |
Default value: | '/wiki', but automatically overridden by installer to be '/w' |
Other settings:Alphabetical |By function |
The base path in a URL, used to build URLs to refer to other parts of this wiki. This might be a virtual path, which might be processed using Apache's mod_rewrite (for example), to determine the directory in which MediaWiki assets are found.
LocalSettings.php
then all dependent variables will need checking and might need redefining too!This will be set to your base directory inLocalSettings.php at installation time.SeeManual:Short URL for details.
$wgScriptPath='/w';