r50757 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50756‎ | r50757 | r50758 >
Date:22:15, 18 May 2009
Author:aaron
Status:ok
Tags:
Comment:
Fixed bug in r49227; use raw function now
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1384,7 +1384,7 @@
13851385 * @return string HTML
13861386 */
13871387 function revComment( Revision $rev, $local = false, $isPublic = false ) {
1388 - if( $rev->getComment() == "" ) return "";
 1388+ if( $rev->getRawComment() == "" ) return "";
13891389 if( $rev->isDeleted( Revision::DELETED_COMMENT ) && $isPublic ) {
13901390 $block = " <span class=\"comment\">" . wfMsgHtml( 'rev-deleted-comment' ) . "</span>";
13911391 } else if( $rev->userCan( Revision::DELETED_COMMENT ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49227Don't show '(comment removed)' for empty commentsaaron01:59, 6 April 2009

Status & tagging log