Jump to: navigation, search
This page is a translated version of the page Manual:$wgScriptPath and the translation is 30% complete.

Other languages:
العربية • ‎català • ‎Deutsch • ‎Ελληνικά • ‎English • ‎español • ‎فارسی • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Paths: $wgScriptPath
The base URL path.
Introdotto nella versione: pre 1.1.0
Rimosso nella versione: still in use
Valori concessi: relative path
Valore predefinito: '/wiki', but automatically overridden by installer

Impostazioni: Alfabetiche | Per funzione


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.

Vedi anche


$wgScriptPath = '/w';