模板:ContentHandler
外观
| Content Models and Handlers |
|---|
| MediaWiki allows for page content types other than wikitext. It offers built-in support for JavaScript, CSS, JSON and plain text. Extensions can use MediaWiki's ContentHandler mechanism to add new content models for accepting different formats and controlling how they are rendered, stored and edited. |
| 文件:Codex icon info.svg About |
|
About the ContentHandler Content handlers and their implementation |
| 文件:Wrench font awesome.svg Usage |
|
Changing the content model of a page Changing the content model of a namespace Extensions using the ContentHandler Adding content models with an extension Examples: |
| 文件:Codex icon settings.svg Configuration settings |
|
$wgContentHandlers $wgNamespaceContentModels $wgContentHandlerTextFallback $wgContentHandlerUseDB |
| Support and development |
|
文件:Git icon.svg Latest technical documentation (Git) 文件:Wikimedia Phabricator logo.svg Phabricator |
| · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> e</translate> |
模板文档
This template is used on all pages relating to Content Models.