Handboek:$wgScriptPath
Jump to navigation
Jump to search
Paths: $wgScriptPath | |
---|---|
Het basis-URL-pad. |
|
Ingeleid in versie: | pre 1.1.0 |
Verwijderd in versie: | nog steeds in gebruik |
Toegelaten waardes: | (relatief pad) |
Standaard waarde: | /wiki , maar krijgt automatisch voorrang via het installatieprogramma. |
Andere instellingen: Alfabetisch | Per functie |
Details
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 checking and might need redefining too!
This will be set to your base directory in LocalSettings.php at installation time. See Manual:Short URL for details.
Zie ook
- $IP
- $wgArticlePath
- $wgExtensionAssetsPath
- $wgLogo
- $wgMathPath
- $wgRedirectScript
- $wgSharedThumbnailScriptPath
- $wgStylePath
- $wgStyleSheetPath
- $wgThumbnailScriptPath
- $wgUploadPath
- Help:Magic words#SCRIPTPATH
Example
$wgScriptPath = '/w';