LiquidThreads JS/AJAX updates
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 16 Sep 2009 00:53:37 +0000 (00:53 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 16 Sep 2009 00:53:37 +0000 (00:53 +0000)
* 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

index 726a0a3..d635151 100644 (file)
@@ -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
+}