From a8c1d130d966834f1ee63757e0def1ede7fe1a34 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 14 Jan 2012 00:09:58 +0000 Subject: [PATCH] Recommitting r108367 to break unit tests as phpunit on ubuntu seems FUBAR'd again Will revert after --- includes/Linker.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/Linker.php b/includes/Linker.php index d4fcb2fd8d..4a5ca73cca 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1178,7 +1178,7 @@ class Linker { $link = ''; } } - $auto = "$link$auto"; + //$auto = "$link$auto"; if ( $pre ) { # written summary $presep autocomment (summary /* section */) $auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto; @@ -1188,7 +1188,8 @@ class Linker { $auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) ); } $auto = '' . $auto . ''; - $comment = $pre . $auto . $post; + //$comment = $pre . $auto . $post; + $comment = $pre . $link . $wgLang->getDirMark() . '' . $auto . $post . ''; return $comment; } -- 2.20.1