Manual:$wgTextModelsToParse

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgTextModelsToParse and the translation is 40% complete.

Other languages:
English • ‎dansk • ‎日本語
構文解析: $wgTextModelsToParse
Determines which types of text are parsed as wikitext.
導入されたバージョン:1.21.0
除去されたバージョン:使用中
許容される値:Content models, which are defined with the ContentHandler .
既定値:
[
	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.
];
その他の設定: アルファベット順 | 機能順

詳細

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.