Manual:$wgArticlePath/ko

From Linux Web Expert

<translate> Server URLs and file paths</translate>: $wgArticlePath
문서를 새로 만드는 데 사용되는 기본 URL.
<translate> Introduced in version:</translate>pre 1.1.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(상대 URL 또는 절대 URL,‘$1’는 페이지명을 나타낸다. 상대 URL을 사용하려면, 앞 부분을 슬래시(/)로 하세요.)
<translate> Default value:</translate>{$wgScript }?title=$1또는 {$wgScript}/$1. $wgUsePathInfo 의 값에 의존한다.
(<translate> Note:</translate> <translate> The default value of this variable depends on other variables, such as the values set in <tvar|1>Setup.php </>, after <tvar|2>LocalSettings.php </> is executed</translate>)

설명

이것은 MediaWiki 내에서 모든 내부 링크를 구축하기 위해서 사용되는 밑바닥이 되는 URL입니다. 이 변수의 한정값은 메인의 index.php 스크립트의 상대 URL이지만, URL을 보기 좋게 하기 위해서 .htaccess를 사용하고 있는 경우에는 필요에 따라서 이 변수를 변경할 수 있습니다.

예시

$wgArticlePath = '/wiki/$1';

같이 보기