switch 'column' for 'colon'
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 8 Mar 2011 07:27:18 +0000 (07:27 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 8 Mar 2011 07:27:18 +0000 (07:27 +0000)
I always thought the colon and semicolon punctuation marks were named after
their architectural equivalent: column. At least, to me, it made more sens
than using a term relating to thedigestive system.

Per Nikerabbit r83296

tests/phpunit/includes/HttpTest.php

index 5d86952..11ebd30 100644 (file)
@@ -555,7 +555,7 @@ class HttpTest extends MediaWikiTestCase {
                        array( false, 'telnet://host', 'Reject telnet scheme' ),
                        
                        # :\/\/ - double slashes
-                       array( false,  'http//example.org', 'Reject missing column in protocol' ),
+                       array( false,  'http//example.org', 'Reject missing colon in protocol' ),
                        array( false,  'http:/example.org', 'Reject missing slash in protocol' ),
                        array( false,  'http:example.org', 'Must have two slashes' ),
                        # Following fail since hostname can be made of anything
@@ -568,7 +568,7 @@ class HttpTest extends MediaWikiTestCase {
 
                        # (\S+) - host part is made of anything not whitespaces
                        array( false, 'http://!"èèè¿¿¿~~\'', 'hostname is made of any non whitespace' ),
-                       array( false, 'http://exam:ple.org/', 'hostname can not use columns!' ),
+                       array( false, 'http://exam:ple.org/', 'hostname can not use colons!' ),
 
                        # (:[0-9]+)? - port number
                        array( true, 'http://example.org:80/' ),