Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -4780,6 +4780,66 @@ |
4781 | 4781 | !!end |
4782 | 4782 | |
4783 | 4783 | |
| 4784 | +!! test |
| 4785 | +Section extraction, mixed wiki and html (section 1) (bug 2607) |
| 4786 | +!! options |
| 4787 | +section=1 |
| 4788 | +!! input |
| 4789 | +<h2>1</h2> |
| 4790 | +one |
| 4791 | +==2== |
| 4792 | +two |
| 4793 | +==3== |
| 4794 | +three |
| 4795 | +!! result |
| 4796 | +<h2>1</h2> |
| 4797 | +one |
| 4798 | +!! end |
| 4799 | + |
| 4800 | +!! test |
| 4801 | +Section extraction, mixed wiki and html (section 2) (bug 2607) |
| 4802 | +!! options |
| 4803 | +section=2 |
| 4804 | +!! input |
| 4805 | +<h2>1</h2> |
| 4806 | +one |
| 4807 | +==2== |
| 4808 | +two |
| 4809 | +==3== |
| 4810 | +three |
| 4811 | +!! result |
| 4812 | +==2== |
| 4813 | +two |
| 4814 | +!! end |
| 4815 | + |
| 4816 | + |
| 4817 | +!! test |
| 4818 | +Section extraction, heading surrounded by <noinclude> (bug 3342) |
| 4819 | +!! options |
| 4820 | +section=1 |
| 4821 | +!! input |
| 4822 | +<noinclude>==a==</noinclude> |
| 4823 | +text |
| 4824 | +!! result |
| 4825 | +<noinclude>==a==</noinclude> |
| 4826 | +text |
| 4827 | +!!end |
| 4828 | + |
| 4829 | + |
| 4830 | +!! test |
| 4831 | +Section extraction, HTML heading subsections (bug 5272) |
| 4832 | +!! options |
| 4833 | +section=1 |
| 4834 | +!! input |
| 4835 | +<h2>a</h2> |
| 4836 | +<h3>aa</h3> |
| 4837 | +<h2>b</h2> |
| 4838 | +!! result |
| 4839 | +<h2>a</h2> |
| 4840 | +<h3>aa</h3> |
| 4841 | +!! end |
| 4842 | + |
| 4843 | + |
4784 | 4844 | # |
4785 | 4845 | # |
4786 | 4846 | # |