r78358 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78357‎ | r78358 | r78359 >
Date:08:14, 14 December 2010
Author:tstarling
Status:ok
Tags:
Comment:
Fixed typos in file names from r65967
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/maintenance/tests/parser/ExtraParserTests.txt (deleted) (history)
  • /trunk/phase3/maintenance/tests/parser/extraParserTests.txt (added) (history)

Diff [purge]

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
153 + native
Index: trunk/phase3/includes/DefaultSettings.php
@@ -3871,7 +3871,7 @@
38723872 */
38733873 $wgParserTestFiles = array(
38743874 "$IP/maintenance/tests/parser/parserTests.txt",
3875 - "$IP/maintenance/tests/parser/ExtraParserTests.txt"
 3875+ "$IP/maintenance/tests/parser/extraParserTests.txt"
38763876 );
38773877
38783878 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65967Recovered parser test whose content got broken in r12975, functionality broke...platonides21:58, 5 May 2010

Status & tagging log