Extends
Methods
_encapsulateTemplate()
Process the main template element, including the arguments.
- Inherited From:
- Source:
_expandTemplate()
Fetch, tokenize and token-transform a template after all arguments and the target were expanded.
Fetch, tokenize and token-transform a template after all arguments and the target were expanded.
- Inherited From:
- Source:
_fetchTemplateAndTitle()
Fetch a template.
_onChunk()
Handle chunk emitted from the input pipeline after feeding it a template.
- Inherited From:
- Source:
_onEnd()
Handle the end event emitted by the parser pipeline after fully processing the template source.
Handle the end event emitted by the parser pipeline after fully processing the template source.
- Inherited From:
- Source:
_parserFunctionsWrapper()
Parser functions also need template wrapping.
_startTokenPipeline()
Process a fetched template source to a token stream.
- Inherited From:
- Source:
checkRes()
checkRes
.checkRes
- Inherited From:
- Source:
fetchExpandedTpl()
Fetch the preprocessed wikitext for a template-like construct.
- Inherited From:
- Source:
getArgInfo()
Get the public data-mw structure that exposes the template name and parameters.
Get the public data-mw structure that exposes the template name and parameters.
- Inherited From:
- Source:
onTemplate()
Main template token handler.
Expands target and arguments (both keys and values) and either directly calls or sets up the callback to _expandTemplate, which then fetches and processes the template.
- Inherited From:
- Source:
onTemplateArg()
Expand template arguments with tokens from the containing frame.
- Inherited From:
- Source:
processSpecialMagicWord()
resolvedTgt.magicWordType
.
Process the special magic word as specified by resolvedTgt.magicWordType
.
magicWordType === '!' => {{!}} is the magic word
magicWordtype === 'MASQ' => DEFAULTSORT, DISPLAYTITLE are the magic words
(Util.magicMasqs.has(..))