MediaWiki  1.32.5
extensions/Poem/tests/parser/parserTests.txt File Reference

Variables

! hooks poem ! endhooks ! test< poem > ! wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< br/> is< br/> a< br/> test</p ></div > ! end !test< poem > with recursive parsing !wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< i > is</i > a< b > test</b ></p ></div > !end !test< poem > with leading whitespace !wikitext< poem > test</poem > ! html php tidy< div class="poem">< p >< br/> &</p ></div > !end !test Horizontal rule !wikitext< poem > some text</poem > !html php tidy< div class="poem">< p > some< br/></p >< hr/>< p > text</p ></div > !end ! test example of< nowiki > without< poem > !options disabled ! wikitext< nowiki > this is a test</nowiki > ! html php tidy< p > this is a test</p > ! end ! test nested< poem >< nowiki > ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > !end ! test nested< poem >< nowiki > with formatting ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > ! end ! test Basic< poem > usage with style ! wikitext< poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> A stately pleasure dome decree
 
! hooks poem ! endhooks ! test< poem > ! wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< br/> is< br/> a< br/> test</p ></div > ! end !test< poem > with recursive parsing !wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< i > is</i > a< b > test</b ></p ></div > !end !test< poem > with leading whitespace !wikitext< poem > test</poem > ! html php tidy< div class="poem">< p >< br/> &</p ></div > !end !test Horizontal rule !wikitext< poem > some text</poem > !html php tidy< div class="poem">< p > some< br/></p >< hr/>< p > text</p ></div > !end ! test example of< nowiki > without< poem > !options disabled ! wikitext< nowiki > this is a test</nowiki > ! html php tidy< p > this is a test</p > ! end ! test nested< poem >< nowiki > ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > !end ! test nested< poem >< nowiki > with formatting ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > ! end ! test Basic< poem > usage with style ! wikitext< poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> A stately pleasure dome the sacred river
 

Variable Documentation

◆ decree

! hooks poem ! endhooks ! test< poem > ! wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< br/> is< br/> a< br/> test</p ></div > ! end !test< poem > with recursive parsing !wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< i > is</i > a< b > test</b ></p ></div > !end !test< poem > with leading whitespace !wikitext< poem > test</poem > ! html php tidy< div class="poem">< p >< br/> &</p ></div > !end !test Horizontal rule !wikitext< poem > some text</poem > !html php tidy< div class="poem">< p > some< br/></p >< hr/>< p > text</p ></div > !end ! test example of< nowiki > without< poem > !options disabled ! wikitext< nowiki > this is a test</nowiki > ! html php tidy< p > this is a test</p > ! end ! test nested< poem >< nowiki > ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > !end ! test nested< poem >< nowiki > with formatting ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > ! end ! test Basic< poem > usage with style ! wikitext< poem style="border: 2px solid #d6d2c5 background-color: #f9f4e6 padding: 1em"> A stately pleasure dome the sacred ran Through caverns measureless to man Down to a sunless sea</poem > ! html php tidy< div style="border: 2px solid #d6d2c5 background-color: #f9f4e6 padding: 1em" class="poem">< p > A stately pleasure dome decree

Definition at line 143 of file parserTests.txt.

◆ river

! hooks poem ! endhooks ! test< poem > ! wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< br/> is< br/> a< br/> test</p ></div > ! end !test< poem > with recursive parsing !wikitext< poem > this is a test</poem > ! html php tidy< div class="poem">< p > this< i > is</i > a< b > test</b ></p ></div > !end !test< poem > with leading whitespace !wikitext< poem > test</poem > ! html php tidy< div class="poem">< p >< br/> &</p ></div > !end !test Horizontal rule !wikitext< poem > some text</poem > !html php tidy< div class="poem">< p > some< br/></p >< hr/>< p > text</p ></div > !end ! test example of< nowiki > without< poem > !options disabled ! wikitext< nowiki > this is a test</nowiki > ! html php tidy< p > this is a test</p > ! end ! test nested< poem >< nowiki > ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > !end ! test nested< poem >< nowiki > with formatting ! wikitext< poem >< nowiki > this is a test</nowiki ></poem > ! html php tidy< div class="poem">< p >< br/> this< br/> is< br/> a< br/> test< br/></p ></div > ! end ! test Basic< poem > usage with style ! wikitext< poem style="border: 2px solid #d6d2c5 background-color: #f9f4e6 padding: 1em"> A stately pleasure dome the sacred ran Through caverns measureless to man Down to a sunless sea</poem > ! html php tidy< div style="border: 2px solid #d6d2c5 background-color: #f9f4e6 padding: 1em" class="poem">< p > A stately pleasure dome the sacred river

Definition at line 143 of file parserTests.txt.