Server URLs and file paths: $wgScriptPath | ||
The base URL path. | ||
Introduced in version: | pre 1.1.0 | |
Removed in version: | still in use | |
Allowed values: | (relative path) | |
Default value: | '/wiki', but automatically overridden by installer to be '/w' | |
Other settings: Alphabetical | By function |
Details
이 위키의 다른 부분을 참조하기 위해 URL을 작성하는 데 사용되는 URL에서 기본 경로입니다. 이것은 미디어위키 유산이 있는 디렉토리를 결정하기 위해, 예를 들어, 아파치의 mod_rewrite를 사용하여 처리될 수 있는 가상 경로일 수 있습니다.
이것과 관련하여 다른 많은 변수가 정의됩니다. 만약 LocalSettings.php에서 이것을 재정의하면, 모든 종속 변수를 확인해야 하고 재정의해야 할 수도 있습니다!
이것은 설치 시 LocalSettings.php에서 기본 디렉토리로 설정될 것입니다. 자세한 내용에 대해 Manual:Short URL을 참조하십시오.
Example
$wgScriptPath = '/w';
See also
- $IP
- $wgScript
- $wgArticlePath
- $wgExtensionAssetsPath
- $wgLogo and $wgLogos
- $wgMathPath
- $wgSharedThumbnailScriptPath
- $wgStylePath
- $wgStyleSheetPath
- $wgThumbnailScriptPath
- $wgUploadPath
- Help:Magic words#SCRIPTPATH