스킨:벡터/2022

From mediawiki.org
This page is a translated version of the page Skin:Vector/2022 and the translation is 21% complete.
Outdated translations are marked like this.
이 스킨은 미디어위키 1.38 이상에서 포함됩니다. 따라서 다시 다운로드하지 않아도 됩니다. 하지만 여전히 제공되는 별개의 지침을 따라야 합니다.
미디어위키 스킨 설명서 - 분류
Vector 2022
출시 상태: 안정
호환성 정책 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backwards compatible.
Composer mediawiki/vector-skin
라이선스 GNU General Public License 2.0 or later
다운로드
예시 https://en.wikipedia.org/
https://vi.wikipedia.org/
https://test.wikipedia.org/
변수
Quarterly downloads 732 (Ranked 1st)
Public wikis using 14,010 (Ranked 2nd)
Public wikis using as default skin 5,943
$2 스킨 번역 (translatewiki.net에서 가능한 경우)
Vagrant role vector
이슈 : 미해결 작업 · 버그 보고

벡터 2022는 미디어위키 벡터 스킨의 두 번째 진화이며 데스크톱 개선 프로젝트의 한 부분으로서 개발되고 있습니다. 미디어위키 미디어위키 1.38 부터 번들되어 있습니다. 여러 위키미디어 프로젝트의 기본 스킨입니다.

Vector 2022 differs from most skins in that it does not have its own code base; rather, its code is part of the Vector skin's, and the two are downloaded together.

Version MediaWiki 1.38 of this skin marked official 3rd party support.

사이트가 1.36과 1.38 사이의 새 벡터를 사용한다 1.38 릴리스로 업그레이드할 때 문제를 마주치게 됩니다. 더 자세한 정보를 보려면 T299104Extension:WikimediaMaintenance 를 참고하십시오.

설치

  • 파일을 다운로드하고 Vector 폴더를 skins/ 디렉토리에 넣어 주세요.
  • 아래의 코드를 LocalSettings.php 의 말미에 추가합니다:
    wfLoadSkin( 'Vector' );
    
  • Configure as required.
  • Yes 완료 - 위키의 Special:Version에 이동해서, 스킨이 올바르게 설치된 것을 확인합니다.

Optional dependencies

Vector 2022 can make use of the following extensions if they are installed, though none are required:

  • UniversalLanguageSelector - for the language switch button
  • PageImages - to include an image for each page (if available) in the search bar
  • ShortDescription - to include a description for each page in the search bar (Wikimedia projects have similar functionality, but not using this extension)

Configuration

Making Vector 2022 the default skin

Since MediaWiki 1.38 and higher, add the following to LocalSettings.php to make Vector 2022 the default skin:

$wgDefaultSkin = 'vector-2022';

Parameters

Note that Vector 2022 has several unstable feature flags, which may disappear at any time. Most of these feature flags relate to incomplete features. We do not recommend changing any feature flag from its default value unless listed here.

  • $wgVectorMaxWidthOptions - Can be used to configure whether the max-width applies. Relatively stable at this point.
  • $wgVectorLanguageInMainPageHeader - Controls whether the language button shows on the main page in the header.
  • $wgVectorWvuiSearchOptions - Associative array with keys showDescription and showThumbnail (both booleans).

See also