Release status: stable
|Description||Includes HTML snippets from files into wiki pages|
|Author(s)||Constantin Berhard (ConnyOnnyOnnytalk)|
|Translate the HtmlFromFile extension if it is available at translatewiki.net|
|Check usage and version matrix.|
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.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
- Array which maps short names for in-wiki usage to actual file names where the content is