Extension:HtmlFromFile/en

Category:Unmaintained extensions/en#HtmlFromFile/en Category:Public domain licensed extensions/en
MediaWiki extensions manual
HtmlFromFile
Release status: unmaintainedCategory:Unmaintained extensions/en
Implementation Tag Category:Tag extensions/en
Description Includes HTML snippets from files into wiki pages
Author(s) Constantin Berhard (ConnyOnnyOnnytalk)
MediaWiki Category:Extensions without MediaWiki version
Database changes No
License Creative Commons Zero v1.0 Universal
Download Category:Extensions in GitLab version control/en
$wgHtmlFromFileMappings
Category:All extensions/enCategory:Extensions not in ExtensionJson

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

Configuration parameters

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

See also

Category:All extensions/en Category:Extensions in GitLab version control/en Category:Extensions not in ExtensionJson Category:Extensions not using extension registration/en Category:Extensions without MediaWiki version Category:ParserFirstCallInit extensions/en Category:Public domain licensed extensions/en Category:Tag extensions/en Category:Unmaintained extensions/en