Manual:$wgArticlePath

From MediaWiki.org

Jump to: navigation, search
Paths: $wgArticlePath
The base URL used to create article links.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: relative or absolute URL, with '$1' to represent page title
Default value: {$wgScript}?title=$1, or {$wgScript}/$1 depending on value of $wgUsePathInfo
(Note: Since the defult value of this variable depends on other variables, such default value is set in Setup.php, after LocalSettings.php is executed)

Other settings: Alphabetical | By Function


[edit] Details

This is the base URL that will be used to construct all internal links within MediaWiki. The default value points it to the main index.php script using a relative URL, but if you are using .htaccess for pretty URLs, this can be altered as required.

[edit] See Also