diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-03-22 21:04:56 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-03-22 21:04:56 +0100 |
commit | 81be3ba123fa26c29ab157288530ffaec9d0930f (patch) | |
tree | 8054ad0536e27b20838d85a05884ca47752537dc /tests | |
parent | ba0fc4fa20067528effd4802e53ceeb959640825 (diff) |
Update to MediaWiki 1.18.2
Diffstat (limited to 'tests')
-rw-r--r-- | tests/parser/parserTests.txt | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 6ea832e3..999cd717 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -8815,6 +8815,87 @@ title=[[Main Page]] !! end +!! test +Strip marker in urlencode +!! input +{{urlencode:x<nowiki/>y}} +{{urlencode:x<nowiki/>y|wiki}} +{{urlencode:x<nowiki/>y|path}} +!! result +<p>xy +xy +xy +</p> +!! end + +!! test +Strip marker in lc +!! input +{{lc:x<nowiki/>y}} +!! result +<p>xy +</p> +!! end + +!! test +Strip marker in uc +!! input +{{uc:x<nowiki/>y}} +!! result +<p>XY +</p> +!! end + +!! test +Strip marker in formatNum +!! input +{{formatnum:1<nowiki/>2}} +{{formatnum:1<nowiki/>2|R}} +!! result +<p>12 +12 +</p> +!! end + +!! test +Strip marker in grammar +!! options +language=fi +!! input +{{grammar:elative|foo<nowiki/>bar}} +!! result +<p>foobarista +</p> +!! end + +!! test +Strip marker in padleft +!! input +{{padleft:|2|x<nowiki/>y}} +!! result +<p>xy +</p> +!! end + +!! test +Strip marker in padright +!! input +{{padright:|2|x<nowiki/>y}} +!! result +<p>xy +</p> +!! end + +!! test +Strip marker in anchorencode +!! input +{{anchorencode:x<nowiki/>y}} +!! result +<p>xy +</p> +!! end + + TODO: more images more tables |