Jump to content
MediaWiki

Manual:$wgArticlePath

From mediawiki.org
Server URLs and file paths: $wgArticlePath
The base URL used to create article links.
Introduced in version:Before 1.1.0
Removed in version:Still in use
Allowed values:(relative or absolute URL, with '1ドル' to represent page title. If you use a relative URL, it must start with a slash (/).)
Default value:{$wgScript }?title=1,ドル or {$wgScript}/1ドル depending on value of $wgUsePathInfo
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)
Other settings: Alphabetical | By function

Details

[edit ]

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.

Example

[edit ]
$wgArticlePath = '/wiki/1ドル';

See also

[edit ]

AltStyle によって変換されたページ (->オリジナル) /