Category:Parser extensions/zh

Parser extensions change or enhance the way MediaWiki interprets Wiki markup. At a high level they can be grouped into three categories:


 * 1) Adding standard token types: The standard approach to customized MediaWiki markup is to add new markup that looks like the built-in MediaWiki XML tags, template , or link markup . For examples, please see:
 * 2) *Category:Parser function extensions
 * 3) *Category:Tag extensions
 * 4) *Category:Variable extensions
 * 5) Adding custom token types: Some extensions define new token types. For example, Extension:ParserPhase2, adds several token types: ,  , and  . For examples, please see Category:Extended syntax extensions.
 * 6) Fundamental changes to the parser: A few extensions attempt fundamentally change the parsing strategy so that markup from other sorts of wikis and content management can be used (must be used?) instead of the standard wiki markup. Like token changes, one must implement these extensions by adding functions to the parser and page output hooks.  For examples, please see Category:Extended syntax extensions.

参见：


 * Manual:Extending wiki markup