mediawiki-extensions-Discus.../tests/cases/EventDispatcher/sectionlevel1/rev4.txt
Bartosz Dziewoński 47510a22f3 EventDispatcher: Fix ignoring level 3+ headings
The code (prior to d25825a754) assumed
that level 3+ headings would always follow a level 2 heading or the
placeholder heading, but we don't generate a placeholder heading if
there are no comments in section zero.

Add more tests to confirm that comments under level 3+ headings (that
are not sub-headings of level 2), and level 1 headings, are ignored
when generating notifications, and do not mess with normal headings.

Bug: T288775
Change-Id: Ic57b56752a4797cb01234f66e0ed7b849752bd70
2021-08-16 15:42:06 +00:00

10 lines
199 B
Plaintext

= A =
B. --[[User:X]] 00:01, 1 January 2020 (UTC)
:C. --[[User:Y]] 00:02, 1 January 2020 (UTC)
== D ==
E. --[[User:Z]] 00:03, 1 January 2020 (UTC)
= F =
G. --[[User:X]] 00:04, 1 January 2020 (UTC)