HomePhabricator

Fix the issue of sections not wrapped in some contexts

Description

Fix the issue of sections not wrapped in some contexts

Transclusion fragments with same about attributes is a very tricky
concept to handle. It does not tell where the fragments are ending.
Sections should never break in between those fragment sequences too.

A particular case where the nested sections are considered as one
single section instead of removing <section> and reapplying CX
section tags was found. Here also, transclusion context ending was
not accurately found. A scope variable is added to transclusion context
now to track and detect the ending of fragment sequences.

Test added.
Example articles to test: en:Marine_life, en:Paris

Bug: T191124
Change-Id: Ib3f2574f0e04673a6f0f911927e40df304727e66

Details

Provenance
santhoshAuthored on Jun 28 2018, 11:58 AM
Parents
rGCXSece5e7ab3450: Merge "Make the removable section comparison case insensitive"
Branches
Unknown
Tags
Unknown
ChangeId
Ib3f2574f0e04673a6f0f911927e40df304727e66