Fix #2709 , patch by Zigger
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 6 Jul 2005 22:13:42 +0000 (22:13 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 6 Jul 2005 22:13:42 +0000 (22:13 +0000)
RELEASE-NOTES
includes/GlobalFunctions.php

index 9433a04..26749ca 100644 (file)
@@ -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 ===
 
index bc5e2a9..939c9ea 100644 (file)
@@ -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 );
 }
 
 /**