From: Amir E. Aharoni Date: Sun, 8 Jan 2012 21:07:27 +0000 (+0000) Subject: Fix the regression pointed out by Robin in r105855. X-Git-Tag: 1.31.0-rc.0~25419 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=43c511f07f1fc83a6bac2ad3f4d8d28922035b0c;p=lhc%2Fweb%2Fwiklou.git Fix the regression pointed out by Robin in r105855. --- 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; }