Jump to content

Extension:HtmlFromFile/ko

From mediawiki.org
This page is a translated version of the page Extension:HtmlFromFile and the translation is 10% complete.
미디어위키 확장 기능 설명서
HtmlFromFile
출시 상태: 관리되지 않음
구현 태그
설명 Includes HTML snippets from files into wiki pages
만든 이 Constantin Berhard (ConnyOnnyOnny토론)
MediaWiki
데이터베이스 변경 아니오
$wgHtmlFromFileMappings
Licence Creative Commons Zero v1.0 Universal
다운로드

The HtmlFromFile extension includes some HTML snippet in the rendering of a wiki page. In the wiki markup you add <htmlfromfile>someName</htmlfromfile>. The extension does a lookup for "someName" in the configured mapping array (see below) to get a complete file name and then directly forwards the contents of that file to the viewer's browser.

Installation

  • 파일을 Download하고 HtmlFromFile 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    require_once "$IP/extensions/HtmlFromFile/HtmlFromFile.php";
    
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Configuration parameters

$wgHtmlFromFileMappings
Array which maps short names for in-wiki usage to actual file names where the content is

같이 보기