From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- extensions/ParserFunctions/stringFunctionTests.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 extensions/ParserFunctions/stringFunctionTests.txt (limited to 'extensions/ParserFunctions/stringFunctionTests.txt') diff --git a/extensions/ParserFunctions/stringFunctionTests.txt b/extensions/ParserFunctions/stringFunctionTests.txt new file mode 100644 index 00000000..064decef --- /dev/null +++ b/extensions/ParserFunctions/stringFunctionTests.txt @@ -0,0 +1,32 @@ +# @todo expand +!! functionhooks +len +!! endfunctionhooks + +!! test +#len +!! input +{{#len:}} +{{#len:0}} +{{#len:test}} +!!result +

0 +1 +4 +

+!! end + +!! test +#urldecode +!! input +{{#urldecode:}} +{{#urldecode:foo%20bar}} +{{#urldecode:%D0%9C%D0%B5%D0%B4%D0%B8%D0%B0%D0%92%D0%B8%D0%BA%D0%B8}} +{{#urldecode: some unescaped string}} +!! result +

foo bar +МедиаВики +some unescaped string +

+!! end + -- cgit v1.2.3-54-g00ecf