From 64345ba2d5f4868dcbf8745a75198018c997caa4 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 6 Jul 2005 22:13:42 +0000 Subject: [PATCH] Fix #2709 , patch by Zigger --- RELEASE-NOTES | 2 ++ includes/GlobalFunctions.php | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9433a04a1d..26749ca875 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -511,6 +511,8 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 2350) Massive update for Limburgish (li) language using Wikipédia * Massive update for Arab (ar) language using Wikipédia * (bug 1560) Massive update for Kurdish (ku) language using Wikipédia +* (bug 2709) Some messages were not read from database + === Caveats === diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index bc5e2a9277..939c9ea3df 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -373,9 +373,7 @@ function wfMsgReplaceArgs( $message, $args ) { function wfMsgHtml( $key ) { $args = func_get_args(); array_shift( $args ); - return wfMsgReplaceArgs( - htmlspecialchars( wfMsgGetKey( $key, $args, true ) ), - $args ); + return wfMsgReplaceArgs( htmlspecialchars( wfMsgGetKey( $key, true ) ), $args ); } /** -- 2.20.1