From f3a96d17aca3ebb0e44349d47e16bec1e504a8b2 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 9 Jan 2012 08:41:25 +0000 Subject: [PATCH] revert r108367 : breaks tests When doing a change that break tests, update the tests in the same commit. That makes the change more obvious and let us merge in another branch easily. --- includes/Linker.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index ab921d7f36..d4fcb2fd8d 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1178,6 +1178,7 @@ class Linker { $link = ''; } } + $auto = "$link$auto"; if ( $pre ) { # written summary $presep autocomment (summary /* section */) $auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto; @@ -1187,7 +1188,7 @@ class Linker { $auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) ); } $auto = '' . $auto . ''; - $comment = $pre . $link . $wgLang->getDirMark() . '' . $auto . $post . ''; + $comment = $pre . $auto . $post; return $comment; } -- 2.20.1