=TestCases for the PWP Engine 1.5.0 and higher ==Links === External Links Just some text. http://server/path Just some text. -_ http://server/path/ Just some text. -_ http://server/path/ and http://server/path/ -_ Just some text. http://server/path/~max Just some text. -_ [http://server/path/~max] Just some text. -_ Just some text. [http://server/path/~max Max' Home] Just some text. -_ [http://server/path Max' Home] Just some text. -_ Just some text. [http://server/OS_400 OS/400] Just some text. -_ [/path/~max] Just some text. -_ Just some text. [path/~max] Just some text. -_ [/path/~max A home dir] Just some text. -_ Just some text. [path/~max Another home dir] Just some text. -_ [path/~max [img/wiki.jpg Image Alt Text]]-_ [path/~max LinkText] This is just some text separating the test cases. Just ignore it or read it - it's up to you! We have to include some special cases like 'words in quotes' or a single word in 'quotes'. A hyphen like the one in e-mail would be nice, too. Now we need a colon like: Call me - (555) 1234/00. What about a date? For example, let's take 2004/07/31 and 2004/08/01. Maybe a time would be good: It's 12:43 (ignore these unimportant words here). If PWP didn't touch the text starting at 'This...', everything is OK! === Internal Links [[link]] Just some text. -_ Just some text. [[link2 mein link]] Just some text. -_ Just some text. [[link2 +mein_link+]] Text.-_ [[link2 [/image.jpeg Image Alt Text] ]] and [[link2 [/image2.jpeg] ]] -_ This is just some text separating the test cases. Just ignore it or read it - it's up to you! We have to include some special cases like 'words in quotes' or a single word in 'quotes'. A hyphen like the one in e-mail would be nice, too. Now we need a colon like: Call me - (555) 1234/00. What about a date? For example, let's take 2004/07/31 and 2004/08/01. Maybe a time would be good: It's 12:43 (ignore these unimportant words here). If PWP didn't touch the text starting at 'This...', everything is OK! ===InterWiki Links This is just some text separating the test cases. [w:upload image.gif] text [wiki:upload text.txt] This is just some text separating the test cases. [wiki:invalid image.gif] text [w:invalid text.txt] This is just some text separating the test cases. ===Images [/image.jpeg Image Alt Text] Just some text. [http://server/image.gif Image Alt Text] Just some text. http://server/image.png. ~[/image.jpeg] But image.jpeg shouldn't become translated. (See also links for image test cases.) == Lists (also nested) *a *b **b1 **b2 ***b2x ***b2y *c *a **a1 ***a1x #one #two This is just some text separating the test cases. Just ignore it or read it - it's up to you! We have to include some special cases like 'words in quotes' or a single word in 'quotes'. A hyphen like the one in e-mail would be nice, too. Now we need a colon like: Call me - (555) 1234/00. What about a date? For example, let's take 2004/07/31 and 2004/08/01. Maybe a time would be good: It's 12:43 (ignore these unimportant words here). If PWP didn't touch the text starting at 'This...', everything is OK! #one **one_a **one_b #two ##two_1 ##two_2 .Text for two_2 .split among several lines. ### two_2_1 ### two_2_2 #three #one ;; term1_1: def1_1 ;;term1_2 : def1_2 #two **two_a *** two_a_x .Text belonging to two_a_x. **two_b #three ** three_a **three_b #a ##aA ;;;subterm :subdefinition ;;;subterm2 hallo : subdefinition2 ##aB . Text belonging to aB .Until here. #b ==Blocks ==Blockquote, Comments and Preformatted :Blockquote with some text .spread over several .lines. :Blockquote :formatted : :as a real block. ::Double blockquote ::is here. !Comment spread . .over several lines. . This is just some text separating the test cases. Just ignore it or read it - it's up to you! We have to include some special cases like 'words in quotes' or a single word in 'quotes'. A hyphen like the one in e-mail would be nice, too. Now we need a colon like: Call me - (555) 1234/00. What about a date? For example, let's take 2004/07/31 and 2004/08/01. Maybe a time would be good: It's 12:43 (ignore these unimportant words here). If PWP didn't touch the text starting at 'This...', everything is OK! !A real comment !block is here. ! !This is the end of !the comment. ,preformatted text ,preformatted text , ,end of pre ===Alignment========================== ~center this text .center this text .center this text ~center ~center this text ~center this text ~~right aligned text .right aligned text .right aligned text This is just some text separating the test cases. Just ignore it or read it - it's up to you! We have to include some special cases like 'words in quotes' or a single word in 'quotes'. A hyphen like the one in e-mail would be nice, too. Now we need a colon like: Call me - (555) 1234/00. What about a date? For example, let's take 2004/07/31 and 2004/08/01. Maybe a time would be good: It's 12:43 (ignore these unimportant words here). If PWP didn't touch the text starting at 'This...', everything is OK! ~~right aligned text ~~right aligned text ~~right aligned text ~center this text ~~right aligned text ~center this text ~~right aligned text ~center this text ==Emphasizing words Text. _Underlined text_ Just some text. /+_Fat italic and underlined text_+/ And just for irritation: OS/400. More /italic text/. More text. And again some +fat text+ vs. C++. _Underlined text_. Now the other way of formatting: '''''Fat and italic.''''' Text. ''Italic''. Text. '''Fat text'''. And some _'''fat /underlined/ text'''_. Once again: '''_fat underlined text_'''. This is just some text separating the test cases. Just ignore it or read it - it's up to you! We have to include some special cases like 'words in quotes' or a single word in 'quotes'. A hyphen like the one in e-mail would be nice, too. Now we need a colon like: Call me - (555) 1234/00. What about a date? For example, let's take 2004/07/31 and 2004/08/01. Maybe a time would be good: It's 12:43 (ignore these unimportant words here). If PWP didn't touch the text starting at 'This...', everything is OK! +This --fat-- italic text goes over several lines and contains a word in "double" quotes.+ Text. --strike through text-- And a^b+c^ = i^^32^^. Did you know this? Amaizing, ^^^xxx^^^^ won't become translated. What about (1+2)^3^ or "see Max^*^"? ==Tables = ||-- ||-h1-||- h2 -|| ||c1 || c2|| --|| text before ||-h 3-||- h 4 -|| || c 3 || c 4 || text after ||-- ||-~h 5-||-~~ h 6 -|| ||~ c 5 ||~~ c 6 || --|| |-~invalid-|-~~ invalid -| ==Escaping, Editor comments === !- /not italic/ -! /italic/ !- /not -! formatted !- italic/ -! Just some text. Just some text. !-+not fat+-! !- _not underlined_ -! Just some text. !--This comment must not be visible.--! This is just some text separating the test cases. Just ignore it or read it - it's up to you! We have to include some special cases like 'words in quotes' or a single word in 'quotes'. A hyphen like the one in e-mail would be nice, too. Now we need a colon like: Call me - (555) 1234/00. What about a date? For example, let's take 2004/07/31 and 2004/08/01. Maybe a time would be good: It's 12:43 (ignore these unimportant words here). If PWP didn't touch the text starting at 'This...', everything is OK! !- Spread /over/ several lines. No formatting +must+ appear. -! Text. !--This comment must not be visible.--! Text. ==Variables and misc small things ---- ------- -------- 3 Rulers above? {v:InvalidVar} text {var:InvalidVar} text {v:SalesContact} text {var:SalesContact} ==Forbidden translations === Mathematics a = b(x) = c/f -_ a = [ 5..6 ] -_ a > b < c <= d >= e -_ l = [ 1;2;3;4 ] b = 2^3 c = 2^4 === Coding What about C++? What about C++? Object i[12] = new Thing(); for (i=12; i<23; i++) { ++z; --a; }