https://bugzilla.wikimedia.org/show_bug.cgi?id=41689
--- Comment #2 from Krenair <[email protected]> 2012-11-03 20:20:08 UTC --- This fix needs to be tested on other machines, I can't do so at the moment: diff --git a/includes/DiscussionParser.php b/includes/DiscussionParser.php index d8694ea..0064135 100644 --- a/includes/DiscussionParser.php +++ b/includes/DiscussionParser.php @@ -481,7 +481,7 @@ abstract class EchoDiscussionParser { list( $right_pos ) = explode( ',', $rhs_pos ); $change_run = false; } elseif ( $line_type == '-' ) { - $subtracted_line = substr( $line, 1 ); + $subtracted_line = substr( $line, 2 ); if ( trim( $subtracted_line ) === '' ) { ++$left_pos; @@ -508,7 +508,7 @@ abstract class EchoDiscussionParser { } ++$left_pos; } elseif ( $line_type == '+' ) { - $added_line = substr( $line, 1 ); + $added_line = substr( $line, 2 ); if ( $change_run !== false && $changes[$change_run]['action'] == 'add' ) { $changes[$change_run]['content'] .= "\n" . $added_line; -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
