Manual:$wgParsoidNewTemplateExpansionMode

Category:MediaWiki configuration settings#ParsoidNewTemplateExpansionModeCategory:MediaWiki configuration settings introduced in version 1.44.0#ParsoidNewTemplateExpansionModeCategory:MediaWiki configuration settings removed in version 1.44.0#ParsoidNewTemplateExpansionModeCategory:MediaWiki deprecated or obsolete features#ParsoidNewTemplateExpansionModeCategory:Parser variables#ParsoidNewTemplateExpansionMode
Parser: $wgParsoidNewTemplateExpansionMode
If set, Parsoid's DataAccess will pass a flag to the preprocessor indicating that template expansions are for Parsoid.
Introduced in version:1.44.0 (Gerrit change 1084879; git #df41aa3d)
Removed in version:1.44.0 (Gerrit change 1115139; git #76d1f8bd)
Allowed values:(boolean)
Default value:true

Details

Warning Warning: EXPERIMENTAL

If set, Parsoid's DataAccess will pass a flag to the preprocessor indicating that template expansions are for Parsoid. This lets it treat top-level template expansions as starting in Start-Of-Line (SOL) context since that is how Parsoid models template transclusions. This is a temporary flag and will be removed once all the code is rolled out to production.

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.44.0 Category:MediaWiki configuration settings removed in version 1.44.0 Category:MediaWiki deprecated or obsolete features Category:Parser variables