Category:Parser extensions

Parser extensions change or enhance the way MediaWiki interprets markup>Special:MyLanguage/Wiki markup|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>Special:MyLanguage/Manual:Tag extensions|XML tags ( ), templates>Special:MyLanguage/Help:Templates|template ( ), or link markup ( ). For examples, please see:


 * 1) Adding custom token types: Some extensions define new token types. For example, parser2-ext>Special:MyLanguage/Extension:ParserPhase2|Extension:ParserPhase2, adds several token types:  ,  , and  . For examples, please see syntax-cat>Special:MyLanguage/Category:Extended syntax extensions</>|Category:Extended syntax extensions.


 * 1) 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 syntax-cat>Special:MyLanguage/Category:Extended syntax extensions</>|Category:Extended syntax extensions.

See also:


 * link1>Special:MyLanguage/Manual:Extending wiki markup</>|Manual:Extending wiki markup