From: Sam Reed Date: Sat, 14 Jan 2012 00:09:58 +0000 (+0000) Subject: Recommitting r108367 to break unit tests as phpunit on ubuntu seems FUBAR'd again X-Git-Tag: 1.31.0-rc.0~25283 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=a8c1d130d966834f1ee63757e0def1ede7fe1a34;p=lhc%2Fweb%2Fwiklou.git Recommitting r108367 to break unit tests as phpunit on ubuntu seems FUBAR'd again Will revert after --- 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; }