Jump to content

Extension:NativeSvgHandler/ko

From mediawiki.org
This page is a translated version of the page Extension:NativeSvgHandler and the translation is 9% complete.
미디어위키 확장 기능 설명서
NativeSvgHandler
출시 상태: 안정
구현 미디어
설명 Serves SVG images directly to clients
만든 이 alistair3149토론
최신 버전 1.4.0
호환성 정책 Master maintains backward compatibility.
MediaWiki 1.35+
데이터베이스 변경 아니오
Licence GNU General Public License 3.0
다운로드
NativeSvgHandler 확장 기능 번역 (translatewiki.net에서 가능한 경우)

The NativeSvgHandler extension allows SVG files to be served directly to clients for client-side rendering. If you are running MediaWiki on a version newer or equal to 1.41, use $wgSVGNativeRendering instead.

Installation

  • 파일을 다운로드하고 NativeSvgHandler 폴더를 extensions/ 디렉토리에 넣어 주세요.
    개발자와 코딩 기여자는 Git을 이용해 확장기능을 다운받는 것이 좋습니다.
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NativeSvgHandler
    
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'NativeSvgHandler' );
    
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Security

NativeSvgHandler serves SVG directly to clients through image tags, which is not vulnerable to XSS attack. XSS attacks are only relevant when it is accessed directly through original file on the file page, which is neither in the scope nor in control of this extension.

같이 보기