When doing a change that break tests, update the tests in the same
commit. That makes the change more obvious and let us merge in
another branch easily.
$link = '';
}
}
+ $auto = "$link$auto";
if ( $pre ) {
# written summary $presep autocomment (summary /* section */)
$auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto;
$auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) );
}
$auto = '<span class="autocomment">' . $auto . '</span>';
- $comment = $pre . $link . $wgLang->getDirMark() . '<span dir="auto">' . $auto . $post . '</span>';
+ $comment = $pre . $auto . $post;
return $comment;
}