wiki.techinc.nl/includes/parser
Antoine Musso 176f91596c Unicode space separator characters (Zs) now terminates links
Fix 19052 which was only reporting the issue for U+3000 IDEOGRAPHIC SPACE.
Covers both external links and images links. See parser tests for examples.

Unicode 'Zs' includes all characters from the 'separator, space' category.
Characters part of this category are:

Char    Name
U+0020  SPACE
U+00A0  NO-BREAK SPACE
U+1680  OGHAM SPACE MARK
U+180E  MONGOLIAN VOWEL SEPARATOR
U+2000  EN QUAD
U+2001  EM QUAD
U+2002  EN SPACE
U+2003  EM SPACE
U+2004  THREE-PER-EM SPACE
U+2005  FOUR-PER-EM SPACE
U+2006  SIX-PER-EM SPACE
U+2007  FIGURE SPACE
U+2008  PUNCTUATION SPACE
U+2009  THIN SPACE
U+200A  HAIR SPACE
U+202F  NARROW NO-BREAK SPACE
U+205F  MEDIUM MATHEMATICAL SPACE
U+3000  IDEOGRAPHIC SPACE


TEST PLAN:

$ php parserTests.php --quiet
This is MediaWiki version 1.19alpha (r93258).

Reading tests from "tests/parser/parserTests.txt"...
Reading tests from "tests/parser/extraParserTests.txt"...
Reading tests from "../mwexts/LabeledSectionTransclusion/lstParserTests.txt"...
Passed 686 of 686 tests (100%)... ALL TESTS PASSED!

Sounds good :-)
2011-07-27 18:03:01 +00:00
..
CoreLinkFunctions.php Remove @static from all over the place. That's what the static keyword is for, this being PHP5 and all 2011-04-21 00:07:09 +00:00
CoreParserFunctions.php ping r91875 2011-07-11 18:05:32 +00:00
CoreTagHooks.php And even more documentation in various files 2011-05-29 14:25:20 +00:00
DateFormatter.php * (bug 28511) Use [] syntax instead of {} for string offset access 2011-04-17 07:59:58 +00:00
LinkHolderArray.php And even more documentation in various files 2011-05-29 14:25:20 +00:00
Parser.php Unicode space separator characters (Zs) now terminates links 2011-07-27 18:03:01 +00:00
Parser_DiffTest.php More return type documentation 2011-02-08 23:18:13 +00:00
Parser_LinkHooks.php Some HipHop fixes: 2011-05-27 06:25:21 +00:00
ParserCache.php Trim trailing whitespace 2011-07-24 21:36:04 +00:00
ParserOptions.php Stylised ParserOptions.php 2011-07-10 06:45:40 +00:00
ParserOutput.php And even more documentation, the last of this batch 2011-05-28 19:00:01 +00:00
Preprocessor.php And even more documentation, the last of this batch 2011-05-28 19:00:01 +00:00
Preprocessor_DOM.php Provisional revert of r89648: "Another try at fixing bug 93 "tilde signatures inside nowiki tags sometimes get expanded (<includeonly><nowiki>~~~~</nowiki></includeonly>)"" 2011-06-07 17:34:20 +00:00
Preprocessor_Hash.php Provisional revert of r89648: "Another try at fixing bug 93 "tilde signatures inside nowiki tags sometimes get expanded (<includeonly><nowiki>~~~~</nowiki></includeonly>)"" 2011-06-07 17:34:20 +00:00
Preprocessor_HipHop.hphp Trim trailing whitespace 2011-07-24 21:36:04 +00:00
StripState.php And even more documentation, the last of this batch 2011-05-28 19:00:01 +00:00
Tidy.php Profiling errors. r92106 missed a wfProfileOut 2011-07-19 19:05:23 +00:00