Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgScriptPath and the translation is 50% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎čeština • ‎Ελληνικά • ‎русский • ‎العربية • ‎中文 • ‎日本語
URLs and file paths: $wgScriptPath
The base URL path.
Zavedeno od verze:pre 1.1.0
Odstraněno od verze:stále se používá
Obsah:(relativní cesta)
Výchozí hodnota:'/wiki', but automatically overridden by installer


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.

Viz též


$wgScriptPath = '/w';