コンテンツ ハンドラー

This page is a translated version of the page Content handlers and the translation is 80% complete.
Outdated translations are marked like this.

このページには異なるコンテンツモデルならびにそれらの実装に関する情報を掲載します。どの拡張機能にも独自のコンテンツモデルを追加できるため、それだけでは不完全な場合があります。コンテンツモデルは、そのコンテンツタイプを表す内部IDを参照します。コンテンツ形式は、コンテンツを表す (シリアル化する) 方法のMIMEタイプです。

コアなコンテンツハンドラ

These are the content handlers which are included in MediaWiki. The "content handler" column pertains to a content handler class found in the MediaWiki core repository.

Content handler コンテンツ モデル コンテンツの形式 使用法
CssContentHandler css text/css MediaWiki:Common.css など CSS を含むページに対応
JavaScriptContentHandler javascript text/javascript MediaWiki:Common.js など JavaScript を含むページに対応
JsonContentHandler json application/json JSON 形式で情報を保存する汎用モデル。多くの拡張コンテンツ ハンドラーは、これを基盤に構築してあります。
TextContentHandler text text/plain 平文 (書式設定なし) を表示する汎用モデル。直接、使用するようには設定されていませんが、使用は可能です。
WikitextContentHandler wikitext text/x-wiki ウィキテキスト! ほとんどのページで既定で使用されます。

拡張コンテンツハンドラ

Table of content handlers defined by extensions. カテゴリ:ContentHandler extensions も参照してください。

コンテンツ モデル コンテンツの形式 拡張機能 使用法
Campaign application/json アップロードウィザード (キャンペーン) Extension:アップロードウィザード/キャンペーン を参照
CollaborationHubContent application/json, text/x-collabkit CollaborationKit 構造化されたオンウィキのプロジェクトページ
CollaborationListContent application/json, text/x-collabkit CollaborationKit 注釈付きのウィキページの構造化リスト
EntitySchema application/json EntitySchema ウィキベースのエンティティのデータを配置する方法を説明するスキーマ
flow-board application/json StructuredDiscussions 議論ページの索引に対応
GeoJson application/json Maps For GeoJson pages in maps.
JsonBook application/json BookManagerv2
JsonConfig
<Customizable>
application/json+pretty JsonConfig Provides a wiki-based JSON configuration system
JsonSchema application/json EventLogging Extension:EventLogging/Guide#スキーマの作成を参照
MassMessageListContent MassMessage
wikibase-mediainfo application/json (既定), application/vnd.php.serialized WikibaseMediaInfo
proofread-index text/x-wiki (既定) ProofreadPage
proofread-page text/x-wiki (既定), application/json ProofreadPage
sanitized-css text/css TemplateStyles TemplateStyles で使用するサニタイズCSS に対応
Scribunto text/plain Scribunto モジュール名前空間の Scribunto (Lua) モジュールに対応
SecurePoll application/json SecurePoll オンウィキの投票システム SecurePoll に対応
smw/schema application/json SemanticMediaWiki For implementing a JSON schema in Semantic MediaWiki (see https://www.semantic-mediawiki.org/wiki/Help:Schema)
syntaxhighlight SyntaxHighlightPages Applies SyntaxHighlight by page file extension.
tei application/tei+xml TEI
wikibase-item application/json (既定), application/vnd.php.serialized Wikibase Repository wikidata:Help:項目を参照
wikibase-lexeme application/json (既定), application/vnd.php.serialized WikibaseLexeme wikidata:ウィキデータ:辞書学データを参照
wikibase-property application/json (既定), application/vnd.php.serialized Wikibase Repository wikidata:Help:プロパティを参照