Extension:NativeSvgHandler/ko
Appearance
Browser support for rendering SVGs varies widely, so the appearance of an SVG cannot be guaranteed to be consistent for all viewers. Don't rely on SVGs appearing the same for all viewers. |
출시 상태: 안정 |
|
|---|---|
| 구현 | 미디어 |
| 설명 | 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' );
완료 – 위키의 ‘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.
같이 보기
$wgSVGNativeRendering(1.41버전부터 도입됨)
| This extension is included in the following wiki farms/hosts and/or packages: |
