* Brad Jorsch
* Daniel Arnold
* Danny B.
+* FunPika
+* Happy-melon
* Jeremy Baron
* Juliano F. Ravasi
* Louperivois
whitelist on or off.
* Added $wgRenderHashAppend to append some string to the parser cache and the
sitenotice cache keys.
+* $wgRCChangedSizeThreshold is now a positive integer by default,
=== Migrated extensions ===
The following extensions are migrated into MediaWiki 1.14:
* (bug 15846) Categories "leak" from older revisions in certain circumstances
* (bug 15928) Special pages dropdown should be inline in non-MonoBook skins
* (bug 14178) Some uses of UserLoadFromSession hook cause segfault
+* (bug 15925) Postitive bytes added on recentchanges and watchlists are now bolded
+ if above the threshold, previously it only worked for negatives
+
=== API changes in 1.14 ===
* before and after the edit is below that value, the value will be
* highlighted on the RC page.
*/
-$wgRCChangedSizeThreshold = -500;
+$wgRCChangedSizeThreshold = 500;
/**
* Show "Updated (since my last visit)" marker in RC view, watchlist and history
$formatedSize = wfMsgExt( 'rc-change-size', array( 'parsemag', 'escape'),
$wgLang->formatNum($szdiff) );
- if( $szdiff < $wgRCChangedSizeThreshold ) {
- return '<strong class=\'mw-plusminus-neg\'>(' . $formatedSize . ')</strong>';
- } elseif( $szdiff === 0 ) {
- return '<span class=\'mw-plusminus-null\'>(' . $formatedSize . ')</span>';
+
+ if( abs( $szdiff ) > abs( $wgRCChangedSizeThreshold ) ) {
+ $tag = 'strong';
+ }
+ else{
+ $tag = 'span';
+ }
+
+ if( $szdiff === 0 ) {
+ return "<$tag class='mw-plusminus-null'>($formatedSize)</$tag>";
} elseif( $szdiff > 0 ) {
- return '<span class=\'mw-plusminus-pos\'>(+' . $formatedSize . ')</span>';
- } else {
- return '<span class=\'mw-plusminus-neg\'>(' . $formatedSize . ')</span>';
+ return "<$tag class='mw-plusminus-pos'>(+$formatedSize)</$tag>";
+ } else {
+ return "<$tag class='mw-plusminus-neg'>($formatedSize)</$tag>";
}
}
}