There's a small error in line
'/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2',
in file
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/parser/Parser.php?view=markup
$2 (or \2 respectively) is not defined here, because zero-width look-ahead assertions (?=...) are non-capturing patterns.
I suggest one of the following solutions
'/(.) (\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2', '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 ', '/(?<=.) (?=\\?|:|;|!|%|\\302\\273)/' => ' ',
I don't know which of those is the best. I guess the first one is the slowest.
Btw. for uniformity you could modify the lines
'/(\\302\\253) /' => '\\1 ', '/ (!\s*important)/' => ' \\1', #Beware of CSS magic word !important, bug #11874.
analogously.
Version: unspecified
Severity: minor
URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/parser/Parser.php?view=markup