Difference between revisions of "Template:ContentHandler"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "<!--T:(.*)-->" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<languages/>" to "") |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
<onlyinclude>{{#switch: | <onlyinclude>{{#switch: | ||
| = | | = | ||
Line 24: | Line 24: | ||
* {{ll|Manual:Page content models| Adding content models with an extension}} | * {{ll|Manual:Page content models| Adding content models with an extension}} | ||
* Examples: | * Examples: | ||
− | ** [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/examples/+/master/includes/ includes] ( part of <tvar|ext>{{ll|Extension:Example|Example}} | + | ** [https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/examples/+/master/includes/ includes] ( part of <tvar|ext>{{ll|Extension:Example|Example}}) |
** [https://github.com/brightbyte/MWExtension-Markdown Markdown] | ** [https://github.com/brightbyte/MWExtension-Markdown Markdown] | ||
Latest revision as of 16:12, 21 December 2019
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. |
![]() |
![]() |
![]() |
Support and development
|

This template is used on all pages relating to Content Models.