dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aac567c
)
Don't show '(comment removed)' for empty comments
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 6 Apr 2009 01:59:42 +0000
(
01:59
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 6 Apr 2009 01:59:42 +0000
(
01:59
+0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
e916b04
..
b3c98f7
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-1385,6
+1385,7
@@
class Linker {
* @return string HTML
*/
function revComment( Revision $rev, $local = false, $isPublic = false ) {
+ if( $rev->getComment() == "" ) return "";
if( $rev->isDeleted( Revision::DELETED_COMMENT ) && $isPublic ) {
$block = " <span class=\"comment\">" . wfMsgHtml( 'rev-deleted-comment' ) . "</span>";
} else if( $rev->userCan( Revision::DELETED_COMMENT ) ) {