Extension:HtmlFromFile/zh

Category:Unmaintained extensions/zh#HtmlFromFile/zh Category:Public domain licensed extensions/zh
HtmlFromFile
不再維護Category:Unmaintained extensions/zh
Category:Tag extensions/zh
描述 Includes HTML snippets from files into wiki pages
作者 Constantin Berhard (ConnyOnnyOnny留言)
MediaWiki Category:Extensions without MediaWiki version/zh
知识共享零 v1.0 通用
下載

GitLab:

注意:
无法由translatewiki.net
提供本地化更新。

Category:Extensions in GitLab version control/zh
$wgHtmlFromFileMappings
Category:All extensions/zhCategory:Extensions not in ExtensionJson/zh

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/zh Category:Extensions in GitLab version control/zh Category:Extensions not in ExtensionJson/zh Category:Extensions not using extension registration/zh Category:Extensions without MediaWiki version/zh Category:ParserFirstCallInit extensions/zh Category:Public domain licensed extensions/zh Category:Tag extensions/zh Category:Unmaintained extensions/zh