Recommitting r108367 to break unit tests as phpunit on ubuntu seems FUBAR'd again

Will revert after
This commit is contained in:
Sam Reed 2012-01-14 00:09:58 +00:00
parent b51c4a3328
commit a8c1d130d9

View file

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