Manual:$wgParsoidNewTemplateExpansionMode

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

edit
  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.