r108882 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108881‎ | r108882 | r108883 >
Date:00:09, 14 January 2012
Author:reedy
Status:reverted
Tags:
Comment:
Recommitting r108367 to break unit tests as phpunit on ubuntu seems FUBAR'd again

Will revert after
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1178,7 +1178,7 @@
11791179 $link = '';
11801180 }
11811181 }
1182 - $auto = "$link$auto";
 1182+ //$auto = "$link$auto";
11831183 if ( $pre ) {
11841184 # written summary $presep autocomment (summary /* section */)
11851185 $auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto;
@@ -1188,7 +1188,8 @@
11891189 $auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) );
11901190 }
11911191 $auto = '<span class="autocomment">' . $auto . '</span>';
1192 - $comment = $pre . $auto . $post;
 1192+ //$comment = $pre . $auto . $post;
 1193+ $comment = $pre . $link . $wgLang->getDirMark() . '<span dir="auto">' . $auto . $post . '</span>';
11931194 return $comment;
11941195 }
11951196

Follow-up revisions

RevisionCommit summaryAuthorDate
r108883Revert out r108882reedy00:25, 14 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108367Fix the regression pointed out by Robin in r105855.amire8021:07, 8 January 2012

Status & tagging log