Content handlers/de

From mediawiki.org
This page is a translated version of the page Content handlers and the translation is 21% complete.

This page contains information about different content models and their implementations. It may be incomplete as any extension can add their own content model. Content model refers to the internal ID that represents that content type. The content format is the mime-type of ways the content can be represented (serialized) in.

Core content handlers

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 Inhaltsmodell Content format(s) Verwendung
CssContentHandler css text/css Für Seiten wie MediaWiki:Common.css, die CSS enthalten
JavaScriptContentHandler javascript text/javascript Für Seiten wie MediaWiki:Common.js, die JavaScript enthalten
JsonContentHandler json application/json A generic model that stores information in the JSON format. Many extension content handlers build on top of this.
TextContentHandler text text/plain A generic model that displays plain text (no formatting). It is not intended to be used directly, but it can be.
WikitextContentHandler wikitext text/x-wiki Wikitext! The default in most pages.

Extension content handlers

Content model Content format(s) Erweiterung Verwendung
Campaign application/json UploadWizard (Campaigns) See Erweiterung:UploadWizard/Kampagnen
CollaborationHubContent application/json, text/x-collabkit CollaborationKit Structured on-wiki project pages
CollaborationListContent application/json, text/x-collabkit CollaborationKit Structured lists of wiki pages with annotations
EntitySchema application/json Erweiterung:EntitySchema Schemas to describe how the data of Wikibase entities should be arranged
flow-board application/json Flow For Flow discussion pages
GeoJson application/json Erweiterung:Maps For GeoJson pages in maps.
JsonBook application/json BookManagerv2
JsonConfig
<Customizable>
application/json+pretty Erweiterung:JsonConfig Provides a wiki-based JSON configuration system
JsonSchema application/json Erweiterung:EventLogging See Extension:EventLogging/Guide#Creating a schema
MassMessageListContent Erweiterung:MassMessage
mediainfo application/json (default), application/vnd.php.serialized Erweiterung:WikibaseMediaInfo
proofread-index text/x-wiki (default) ProofreadPage
proofread-page text/x-wiki (default), application/json ProofreadPage
sanitized-css text/css Erweiterung:TemplateStyles For sanitized CSS intended for use with TemplateStyles
Scribunto text/plain Erweiterung:Scribunto For Scribunto (Lua) modules in the Module namespace
SecurePoll application/json Erweiterung:SecurePoll For managing SecurePoll elections on-wiki
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 Erweiterung:SyntaxHighlight by page file extension.
tei application/tei+xml TEI
wikibase-item application/json (default), application/vnd.php.serialized Erweiterung:Wikibase Repository Siehe wikidata:Help:Items
wikibase-lexeme application/json (default), application/vnd.php.serialized Erweiterung:WikibaseLexeme See wikidata:Wikidata:Lexicographical data
wikibase-property application/json (default), application/vnd.php.serialized Erweiterung:Wikibase Repository Siehe wikidata:Help:Properties