From: Antoine Musso Date: Mon, 9 Jan 2012 08:41:25 +0000 (+0000) Subject: revert r108367 : breaks tests X-Git-Tag: 1.31.0-rc.0~25409 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=f3a96d17aca3ebb0e44349d47e16bec1e504a8b2;p=lhc%2Fweb%2Fwiklou.git 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. --- 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; }