Extension:HtmlFromFile/ja

Category:Unmaintained extensions/ja#HtmlFromFile/ja Category:Public domain licensed extensions/ja
MediaWiki 拡張機能マニュアル
HtmlFromFile
リリースの状態: 保守されていないCategory:Unmaintained extensions/ja
実装 タグ Category:Tag extensions/ja
説明 Includes HTML snippets from files into wiki pages
作者 Constantin Berhard (ConnyOnnyOnnyトーク)
MediaWiki Category:Extensions without MediaWiki version/ja
データベースの変更 いいえ
ライセンス クリエイティブ・コモンズ CC0 1.0 全世界
ダウンロード Category:Extensions in GitLab version control/ja
$wgHtmlFromFileMappings
Category:All extensions/jaCategory:Extensions not in ExtensionJson/ja

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.

インストール

構成パラメーター

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

関連項目

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