r82119 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r82118
|
r82119
|
r82120
>
Date:
17:57, 14 February 2011
Author:
btongminh
Status:
ok
Tags:
Comment:
Fix for WordCloud: If the usage is smaller than all defined boundaries, you need to have a very high instead of of low class number. Since infinity is a bit unpractical, use max( ) + 1
Modified paths:
/trunk/extensions/CodeReview/ui/WordCloud.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/CodeReview/ui/WordCloud.php
—
—
@@ -136,6 +136,6 @@
137
137
return $class;
138
138
}
139
139
}
140
- return 0;
140
+ return max( array_keys( $this->classPercentages ) ) + 1;
141
141
}
142
142
}
Status & tagging log
19:32, 14 February 2011
😂
(
talk
|
contribs
)
changed the
status
of r82119
[
removed:
new
added:
ok]