Extension:HtmlFromFile/pl
![]() Status wydania: niewspierane |
|
---|---|
Realizacja | Znaczniki |
Opis | Includes HTML snippets from files into wiki pages |
Autor(zy) | Constantin Berhard (ConnyOnnyOnnydyskusja) |
MediaWiki | |
Zmiany w bazie danych | Nie |
Licencja | Creative Commons Zero v1.0 Universal |
Pobieranie | GitLab: Uwaga: |
Parametry
$wgHtmlFromFileMappings |
|
Użyte haki
|
|
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 i umieść plik(i) w katalogu o nazwie
HtmlFromFile
w swoim kataloguextensions/
. - Dodaj poniższy kod na dole twojego pliku LocalSettings.php
require_once "$IP/extensions/HtmlFromFile/HtmlFromFile.php";
: Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Configuration parameters
- $wgHtmlFromFileMappings
- Array which maps short names for in-wiki usage to actual file names where the content is
Zobacz też
- Extension:IframePage
- Extension:Widgets
- Extension:SecureInclude
- Extension:Secure HTML