Extension:HtmlFromFile/ko
Appearance
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. Please see the following alternatives that you may wish to install instead of this extension: |
출시 상태: 관리되지 않음 |
|
|---|---|
| 구현 | 태그 |
| 설명 | Includes HTML snippets from files into wiki pages |
| 만든 이 | Constantin Berhard (ConnyOnnyOnny토론) |
| MediaWiki | |
| 데이터베이스 변경 | 아니오 |
|
$wgHtmlFromFileMappings |
|
| Licence | Creative Commons Zero v1.0 Universal |
| 다운로드 | GitLab: Note: |
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";
완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
Configuration parameters
- $wgHtmlFromFileMappings
- Array which maps short names for in-wiki usage to actual file names where the content is
