This is an article made for the purpose of demonstrating a bug in wikipedia software. This is the top of the article. Please do not edit or fix this article, it is here to show that there is a bug.

If section headers are malformed, the software that counts them and creates the table of contents recognizes this, but the portion that counts sections for editing does not, and as a result an imbalance occurs.

Table of contents
1 Section 1
2 Section 2
3 Section 3
4 Section 4
5 section 11

Section 1

This is section 1 It comes before the others.

Section 2

This is section 2 It comes in the middle of the others.

Section 3

This is section 3 of the primary test article. It comes just before ending the others.

Section 4

This is section 4 of the primary test article. It comes after the others.

Section 5

Section 5


section 6

6 A
6 B

=Section 7

This is section 7, not 9. Confirm you clicked on Section 9 and got here instead. This is a bug. This section has a malformed header, and causes an imbalance.


= Section 8

=

Section 8A This has a malformed header.


section 8b

Section 9

Section 9

Click on the edit button for this section. Section 7 will open instead. This is a bug. It's caused by an error in the way malformed headers are treated. I found this by accident, and couldn't figure out why I was getting wrong sections when trying to edit a document.


Section 10

Section 10

section 11

Section 11