r93925 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93924‎ | r93925 | r93926 >
Date:22:20, 4 August 2011
Author:reedy
Status:ok
Tags:
Comment:
* (bug 17119) class Parser: senseless use of non-existing regexp back reference


Patch made by Dan Collins,, based on text placed by "seth"
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -347,7 +347,7 @@
348348 $fixtags = array(
349349 # french spaces, last one Guillemet-left
350350 # only if there is something before the space
351 - '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2',
 351+ '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 ',
352352 # french spaces, Guillemet-right
353353 '/(\\302\\253) /' => '\\1 ',
354354 '/ (!\s*important)/' => ' \\1', # Beware of CSS magic word !important, bug #11874.

Status & tagging log