Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1178,7 +1178,7 @@ |
1179 | 1179 | $link = ''; |
1180 | 1180 | } |
1181 | 1181 | } |
1182 | | - $auto = "$link$auto"; |
| 1182 | + //$auto = "$link$auto"; |
1183 | 1183 | if ( $pre ) { |
1184 | 1184 | # written summary $presep autocomment (summary /* section */) |
1185 | 1185 | $auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto; |
— | — | @@ -1188,7 +1188,8 @@ |
1189 | 1189 | $auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) ); |
1190 | 1190 | } |
1191 | 1191 | $auto = '<span class="autocomment">' . $auto . '</span>'; |
1192 | | - $comment = $pre . $auto . $post; |
| 1192 | + //$comment = $pre . $auto . $post; |
| 1193 | + $comment = $pre . $link . $wgLang->getDirMark() . '<span dir="auto">' . $auto . $post . '</span>'; |
1193 | 1194 | return $comment; |
1194 | 1195 | } |
1195 | 1196 | |