From 35cecc8014742f7d13eaf649b518fbf7131c1a53 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 21 Nov 2003 04:57:32 +0000 Subject: [PATCH] Fixed wfMsg bug -- problems with "loading" message --- includes/GlobalFunctions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 390db76fa3..40effcc321 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -223,7 +223,9 @@ function wfMsgReal( $key, $args, $useDB ) { } if ( is_array( $messageCache ) && array_key_exists( $title, $messageCache ) ) { $message = $messageCache[$title]; - } + } elseif ( $messageCache == "loading" ) { + $messageCache = false; + } } # If there was no MemCached, load each message from the DB individually -- 2.20.1