From 81be3ba123fa26c29ab157288530ffaec9d0930f Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 22 Mar 2012 21:04:56 +0100 Subject: Update to MediaWiki 1.18.2 --- tests/parser/parserTests.txt | 81 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) (limited to 'tests') 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: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 -- cgit v1.2.2