Extension:HtmlFromFile/pl

From mediawiki.org
This page is a translated version of the page Extension:HtmlFromFile and the translation is 10% complete.
Podręcznik rozszerzeń MediaWiki
HtmlFromFile
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:
Żadne aktualizacje języków nie są
dostarczane przez translatewiki.net .

$wgHtmlFromFileMappings

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 katalogu extensions/.
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    require_once "$IP/extensions/HtmlFromFile/HtmlFromFile.php";
    
  • Yes 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ż