From 43c511f07f1fc83a6bac2ad3f4d8d28922035b0c Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Sun, 8 Jan 2012 21:07:27 +0000 Subject: [PATCH] Fix the regression pointed out by Robin in r105855. --- includes/Linker.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Linker.php b/includes/Linker.php index d4fcb2fd8d..ab921d7f36 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1178,7 +1178,6 @@ class Linker { $link = ''; } } - $auto = "$link$auto"; if ( $pre ) { # written summary $presep autocomment (summary /* section */) $auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto; @@ -1188,7 +1187,7 @@ class Linker { $auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) ); } $auto = '' . $auto . ''; - $comment = $pre . $auto . $post; + $comment = $pre . $link . $wgLang->getDirMark() . '' . $auto . $post . ''; return $comment; } -- 2.20.1