* (bug 4842) Fix 'show number of watching users' with enhanced RC
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 7 Feb 2006 03:58:49 +0000 (03:58 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 7 Feb 2006 03:58:49 +0000 (03:58 +0000)
RELEASE-NOTES
includes/ChangesList.php

index 0fe9ad5..c1cb29f 100644 (file)
@@ -600,6 +600,7 @@ fully support the editing toolbar, but was found to be too confusing.
 * (bug 4875) Define a div containing the shared image description
 * (bug 4860) Expose Title->userCan() as Hooks
 * (bug 4828) Fix genitive month-name variable for cs, pl, uk
+* (bug 4842) Fix 'show number of watching users' with enhanced RC
 
 
 === Caveats ===
index e9b7f63..d46d5ff 100644 (file)
@@ -534,6 +534,7 @@ class EnhancedChangesList extends ChangesList {
                $r .= $users;
 
                if($block[0]->numberofWatchingusers > 0) {
+                       global $wgContLang;
                        $r .= wfMsg('number_of_watching_users_RCview',  $wgContLang->formatNum($block[0]->numberofWatchingusers));
                }
                $r .= "<br />\n";