From e8ea1aa0803134ec3e1adeab5380a05ecb48a450 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Wed, 16 Sep 2009 00:53:37 +0000 Subject: [PATCH] LiquidThreads JS/AJAX updates * Bump interval from 30s to 60s. * Add an "update" link (text changed, sorry translators :(), which reloads the thread from the server. * Fix bug in continuation caused by last-minute changes. * Fix bug where only one reply per thread was being loaded. * Fix bug where AJAX-loaded threads were loading one level too few. * Fix bug in interpretation of API parameters. --- includes/GlobalFunctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 726a0a3e79..d63515112b 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -656,7 +656,7 @@ function wfMsgNoDBForContent( $key ) { * @param $args * @param $useDB Boolean * @param $transform Boolean: Whether or not to transform the message. - * @param $forContent Boolean + * @param $forContent Mixed: Language code, or false for user lang, true for content lang. * @return String: the requested message. */ function wfMsgReal( $key, $args, $useDB = true, $forContent = false, $transform = true ) { @@ -3342,4 +3342,4 @@ function wfBCP47( $code ) { } $langCode = implode ( '-' , $codeBCP ); return $langCode; -} \ No newline at end of file +} -- 2.20.1