Jump to content

Handbuch:$wgTextModelsToParse

From mediawiki.org
This page is a translated version of the page Manual:$wgTextModelsToParse and the translation is 40% complete.
Inhalts-Handler und Speicher: $wgTextModelsToParse
Determines which types of text are parsed as wikitext.
Eingeführt in Version:1.21.0 (Gerrit change 28507; git #8b568be5)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:Content models, which are defined with the ContentHandler .
Standardwert:
[
	CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
	CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
	CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
];

Details

This does not imply that these kinds of texts are also rendered as wikitext, it only means that links, magic words, etc will have the effect on the database they would have on a wikitext page.