X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/bc433eb38d1d09c2606aa3d8a3e3d7fd39387a29..ed929caf35b91662df31b9ee922286ddea5659cb:/maintenance/tests/parser/parserTests.txt diff --git a/maintenance/tests/parser/parserTests.txt b/maintenance/tests/parser/parserTests.txt index b3fa560c..cb9cc560 100644 --- a/maintenance/tests/parser/parserTests.txt +++ b/maintenance/tests/parser/parserTests.txt @@ -8306,6 +8306,87 @@ HTML5 data attributes !! end +!! test +Strip marker in urlencode +!! input +{{urlencode:xy}} +{{urlencode:xy|wiki}} +{{urlencode:xy|path}} +!! result +

xy +xy +xy +

+!! end + +!! test +Strip marker in lc +!! input +{{lc:xy}} +!! result +

xy +

+!! end + +!! test +Strip marker in uc +!! input +{{uc:xy}} +!! result +

XY +

+!! end + +!! test +Strip marker in formatNum +!! input +{{formatnum:12}} +{{formatnum:12|R}} +!! result +

12 +12 +

+!! end + +!! test +Strip marker in grammar +!! options +language=fi +!! input +{{grammar:elative|foobar}} +!! result +

foobarista +

+!! end + +!! test +Strip marker in padleft +!! input +{{padleft:|2|xy}} +!! result +

xy +

+!! end + +!! test +Strip marker in padright +!! input +{{padright:|2|xy}} +!! result +

xy +

+!! end + +!! test +Strip marker in anchorencode +!! input +{{anchorencode:xy}} +!! result +

xy +

+!! end + + TODO: more images more tables