User:Lyumn/pr parser test

Gerrit update
ParserTestTables Hook Added: https://gerrit.wikimedia.org/r/#/c/96185/

Parser test cases (in progress)
!! article Index:Simple index !! text

!! endarticle

!! article Page:Test 1.jpg !! text This is a page for Test 1.jpg. !! endarticle

!! article Page:Test 2.tiff !! text This is a page for Test 2.tiff. !! endarticle

!! article Page:Test 3.png !! text This is a page for Test 3.png. !! endarticle

!! article Author:Me !! text !! endarticle

!! article MediaWiki:Proofreadpage pagenum template !! text !! endarticle

!! article MediaWiki:Proofreadpage_header_template !! text !! endarticle

!! test Invalid empty page tag !! input !! result Error: Index expected !! end

!! test Test 1.jpg to Test 1.jpg !! input  !! result Page:Test 1.jpg|TOC This is a page for Test 1.jpg.&#32;

!! end

!! test From Test 2.tiff !! input  !! result Page:Test 2.tiff|1 This is a page for Test 2.tiff.&#32; Page:Test 3.png|2 This is a page for Test 3.png.&#32;

!! end

!! test to Test 3.png !! input  !! result Page:Test 1.jpg|TOC This is a page for Test 1.jpg.&#32; Page:Test 2.tiff|1 This is a page for Test 2.tiff.&#32; Page:Test 3.png|2 This is a page for Test 3.png.&#32;

!! end

!! test test header !! input  !! result Test book Author:Me

!! end

!! test test !! input author  !! result Test book foo

!! end