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:
385e717
)
Cleanup to r44993 -- avoid using '$x = foo()' in an if() condition on general princip...
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 30 Dec 2008 18:43:35 +0000
(18:43 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 30 Dec 2008 18:43:35 +0000
(18:43 +0000)
includes/ChangesList.php
patch
|
blob
|
history
diff --git
a/includes/ChangesList.php
b/includes/ChangesList.php
index
4d95b33
..
a8f5fff
100644
(file)
--- a/
includes/ChangesList.php
+++ b/
includes/ChangesList.php
@@
-362,8
+362,11
@@
class OldChangesList extends ChangesList {
# Edit/log timestamp
$this->insertTimestamp( $s, $rc );
# Bytes added or removed
- if( $wgRCShowChangedSize && ($cd = $rc->getCharacterDifference()) ) {
- $s .= "$cd . . ";
+ if( $wgRCShowChangedSize ) {
+ $cd = $rc->getCharacterDifference();
+ if( $cd != '' ) {
+ $s .= "$cd . . ";
+ }
}
# User tool links
$this->insertUserRelatedLinks($s,$rc);