From: Andrew Garrett Date: Wed, 16 Sep 2009 00:53:37 +0000 (+0000) Subject: LiquidThreads JS/AJAX updates X-Git-Tag: 1.31.0-rc.0~39718 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=e8ea1aa0803134ec3e1adeab5380a05ecb48a450;p=lhc%2Fweb%2Fwiklou.git 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. --- 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 +}