Revert out r108882

This commit is contained in:
Sam Reed 2012-01-14 00:25:26 +00:00
parent a8c1d130d9
commit d580226891

View file

@ -1178,7 +1178,7 @@ class Linker {
$link = '';
}
}
//$auto = "$link$auto";
$auto = "$link$auto";
if ( $pre ) {
# written summary $presep autocomment (summary /* section */)
$auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto;
@ -1188,8 +1188,7 @@ class Linker {
$auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) );
}
$auto = '<span class="autocomment">' . $auto . '</span>';
//$comment = $pre . $auto . $post;
$comment = $pre . $link . $wgLang->getDirMark() . '<span dir="auto">' . $auto . $post . '</span>';
$comment = $pre . $auto . $post;
return $comment;
}