Extension:HtmlFromFile/en

The HtmlFromFile extension includes some HTML snippet in the rendering of a wiki page. In the wiki markup you add someName. 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.

Configuration parameters

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