Index: trunk/phase3/maintenance/tests/parser/ExtraParserTests.txt |
— | — | @@ -1,51 +0,0 @@ |
2 | | -# This is another parserTest file. |
3 | | -# Parser tests should go to ParserTests.txt |
4 | | -# This one got exiliated here because its broken character |
5 | | -# a) Already lost this test for years when removed on r12975 |
6 | | -# b) Some text editors choke in the whole file due to the character |
7 | | - |
8 | | -!! test |
9 | | -External links: invalid character NUL |
10 | | -!! options |
11 | | -noxml |
12 | | -preprocessor=Preprocessor_Hash |
13 | | -!! input |
14 | | -[http://www.example.com test] |
15 | | -!! result |
16 | | -<p>[<a href="http://www.example.com" class="external free" rel="nofollow">http://www.example.com</a> test] |
17 | | -</p> |
18 | | -!! end |
19 | | - |
20 | | -!! test |
21 | | -External links: invalid character backspace |
22 | | -!! options |
23 | | -noxml |
24 | | -preprocessor=Preprocessor_Hash |
25 | | -!! input |
26 | | -[http://www.example.com test] |
27 | | -!! result |
28 | | -<p>[<a href="http://www.example.com" class="external free" rel="nofollow">http://www.example.com</a> test] |
29 | | -</p> |
30 | | -!! end |
31 | | - |
32 | | - |
33 | | -!! test |
34 | | -Magic link: invalid character |
35 | | -!! options |
36 | | -noxml |
37 | | -preprocessor=Preprocessor_Hash |
38 | | -!! input |
39 | | -http://www.example.com |
40 | | -!! result |
41 | | -<p><a href="http://www.example.com" class="external free" rel="nofollow">http://www.example.com</a> |
42 | | -</p> |
43 | | -!! end |
44 | | - |
45 | | -!! test |
46 | | -External links: tab character |
47 | | -!! input |
48 | | -[http://www.example.com Alice in Wonderland] |
49 | | -!! result |
50 | | -<p><a href="http://www.example.com" class="external text" rel="nofollow">Alice in Wonderland</a> |
51 | | -</p> |
52 | | -!! end |
Index: trunk/phase3/maintenance/tests/parser/extraParserTests.txt |
— | — | @@ -0,0 +1,51 @@ |
| 2 | +# This is another parserTest file. |
| 3 | +# Parser tests should go to parserTests.txt |
| 4 | +# This one got exiliated here because its broken character |
| 5 | +# a) Already lost this test for years when removed on r12975 |
| 6 | +# b) Some text editors choke in the whole file due to the character |
| 7 | + |
| 8 | +!! test |
| 9 | +External links: invalid character NUL |
| 10 | +!! options |
| 11 | +noxml |
| 12 | +preprocessor=Preprocessor_Hash |
| 13 | +!! input |
| 14 | +[http://www.example.com test] |
| 15 | +!! result |
| 16 | +<p>[<a href="http://www.example.com" class="external free" rel="nofollow">http://www.example.com</a> test] |
| 17 | +</p> |
| 18 | +!! end |
| 19 | + |
| 20 | +!! test |
| 21 | +External links: invalid character backspace |
| 22 | +!! options |
| 23 | +noxml |
| 24 | +preprocessor=Preprocessor_Hash |
| 25 | +!! input |
| 26 | +[http://www.example.com test] |
| 27 | +!! result |
| 28 | +<p>[<a href="http://www.example.com" class="external free" rel="nofollow">http://www.example.com</a> test] |
| 29 | +</p> |
| 30 | +!! end |
| 31 | + |
| 32 | + |
| 33 | +!! test |
| 34 | +Magic link: invalid character |
| 35 | +!! options |
| 36 | +noxml |
| 37 | +preprocessor=Preprocessor_Hash |
| 38 | +!! input |
| 39 | +http://www.example.com |
| 40 | +!! result |
| 41 | +<p><a href="http://www.example.com" class="external free" rel="nofollow">http://www.example.com</a> |
| 42 | +</p> |
| 43 | +!! end |
| 44 | + |
| 45 | +!! test |
| 46 | +External links: tab character |
| 47 | +!! input |
| 48 | +[http://www.example.com Alice in Wonderland] |
| 49 | +!! result |
| 50 | +<p><a href="http://www.example.com" class="external text" rel="nofollow">Alice in Wonderland</a> |
| 51 | +</p> |
| 52 | +!! end |
Property changes on: trunk/phase3/maintenance/tests/parser/extraParserTests.txt |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 53 | + native |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3871,7 +3871,7 @@ |
3872 | 3872 | */ |
3873 | 3873 | $wgParserTestFiles = array( |
3874 | 3874 | "$IP/maintenance/tests/parser/parserTests.txt", |
3875 | | - "$IP/maintenance/tests/parser/ExtraParserTests.txt" |
| 3875 | + "$IP/maintenance/tests/parser/extraParserTests.txt" |
3876 | 3876 | ); |
3877 | 3877 | |
3878 | 3878 | /** |