Manual:$wgContentHandlers
From MediaWiki.org
Output: $wgContentHandlers | |
---|---|
Mapping of content type handlers |
|
Introduced in version: | 1.21.0 |
Removed in version: | still in use |
Allowed values: | Array of content model ID constants |
Default value: | (see below) |
Other settings: Alphabetical | By Function
Details[edit | edit source]
Plugins for page content model handling. Each entry in the array maps a model ID constant to a PHP class name.
Default value[edit | edit source]
The default value, as of 1.23.0, is:
$wgContentHandlers = array( // the usual case CONTENT_MODEL_WIKITEXT => 'WikitextContentHandler', // dumb version, no syntax highlighting CONTENT_MODEL_JAVASCRIPT => 'JavaScriptContentHandler', // dumb version, no syntax highlighting CONTENT_MODEL_CSS => 'CssContentHandler', // plain text, for use by extensions etc. CONTENT_MODEL_TEXT => 'TextContentHandler', );