!! Version 2 # Force the test runner to ensure the extension is loaded !! hooks inputbox !! endhooks !! test InputBox type=search !! wikitext type=search !! html
!! end !! test InputBox type=create !! wikitext type=create !! html

!! end !! test InputBox type=create with minor !! wikitext type=create minor=1 !! html

!! end !! test InputBox type=create with minor=0 !! wikitext type=create minor=0 !! html

!! end !! test InputBox type=create with preloadparams !! wikitext type=create preloadparams[]=param1 preloadparams[]=param2 !! html

!! end !! test InputBox type=create with empty preloadparams !! wikitext type=create preloadparams[]= preloadparams[]= !! html

!! end !! test InputBox type=create with editintro !! wikitext type=create editintro=MediaWiki:Test !! html

!! end !! test InputBox type=create with empty editintro !! wikitext type=create editintro= !! html

!! end !! test InputBox type=create with summary !! wikitext type=create summary=Summary test !! html

!! end !! test InputBox type=create with empty summary !! wikitext type=create summary= !! html

!! end !! test InputBox type=create with nosummary !! wikitext type=create nosummary=true !! html

!! end !! test InputBox type=create with empty nosummary !! wikitext type=create nosummary= !! html

!! end !! test InputBox type=create with prefix !! wikitext type=create prefix=Test/ !! html

!! end !! test InputBox type=create with empty prefix !! wikitext type=create prefix= !! html

!! end !! test InputBox type=create with preload !! wikitext type=create preload=test !! html

!! end !! test InputBox type=create with empty preload !! wikitext type=create preload= !! html

!! end !! test InputBox type=comment !! wikitext type=comment !! html

!! end !! test InputBox type=commenttitle !! wikitext type=commenttitle !! html

!! end !! test InputBox type=fulltext !! wikitext type=fulltext !! html
!! end !! test InputBox type=move !! wikitext type=move !! html

!! end !! test InputBox type=search with tour !! wikitext type=search tour=test !! html
!! end # XXX This test is broken: note that the UX text is in sr-Cyrl but the # variant requested was sr-Latn !! test InputBox langconvert !! options language=sr variant=sr-Latn disabled !! wikitext type=create default=-{sr-Latn: Some latin; sr-Cyrl: Not latin }- placeholder=-{sr-Latn: Latn; sr-Cyrl: Cyrl}- !! html

!! end !! test InputBox type=search with aria label !! wikitext type=search arialabel=Search this wiki !! html
!! end