Content handlers

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Content handlers and the translation is 13% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎dansk • ‎español • ‎français • ‎hrvatski • ‎magyar • ‎polski • ‎português • ‎čeština • ‎български • ‎русский • ‎удмурт • ‎العربية • ‎বাংলা • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어
Zie ook: Manual:ContentHandler , Help:ChangeContentModel

Deze pagina mapt de ContentHandler types naar hun canonieke implementatie.

Core content handlers

Content model Content format(s) Usage
css text/css For pages that contain CSS, like MediaWiki:Common.css
javascript text/javascript For pages that contain JavaScript, like MediaWiki:Common.js
json application/json A generic model that stores information in the JSON format. Many extension content handlers build on top of this.
text text/plain A generic model that displays plain text (no formatting). It is not intended to be used directly, but it can be.
wikitext text/x-wiki Wikitext! The default in most pages.

Extension content handlers

Content model Content format(s) Extensie Usage
Campaign application/json UploadWizard (Campagnes) See Extension:UploadWizard/Campaigns
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 EntitySchema Schemas to describe how the data of Wikibase entities should be arranged
flow-board application/json Flow For Flow discussion pages
JsonBook application/json BookManagerv2
JsonSchema application/json EventLogging See Extension:EventLogging/Guide#Creating a schema
mediainfo application/json (default), application/vnd.php.serialized WikibaseMediaInfo
proofread-index text/x-wiki (default) ProofreadPage
proofread-page text/x-wiki (default), application/json ProofreadPage
sanitized-css text/css TemplateStyles For sanitized CSS intended for use with TemplateStyles
Scribunto text/plain Scribunto For Scribunto (Lua) modules in the Module namespace
SecurePoll application/json SecurePoll For managing SecurePoll elections on-wiki
tei application/tei+xml TEI
wikibase-item application/json (default), application/vnd.php.serialized Wikibase Repository See wikidata:Help:Items
wikibase-lexeme application/json (default), application/vnd.php.serialized WikibaseLexeme See wikidata:Wikidata:Lexicographical data
wikibase-property application/json (default), application/vnd.php.serialized Wikibase Repository See wikidata:Help:Properties