From cc51b19981d25860a1de7fdb9cfa71d591b5c5c2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 7 Feb 2006 03:58:49 +0000 Subject: [PATCH] * (bug 4842) Fix 'show number of watching users' with enhanced RC --- RELEASE-NOTES | 1 + includes/ChangesList.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0fe9ad5f2f..c1cb29fe81 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/ChangesList.php b/includes/ChangesList.php index e9b7f633b3..d46d5ff67e 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -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 .= "
\n"; -- 2.20.1