From 8ed92687f26c47717494bde28f75d6871e309496 Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Fri, 3 Nov 2006 05:46:08 +0000 Subject: [PATCH] Minor addition to comments for wfMsg / wfMsgExt declarations. --- includes/GlobalFunctions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 623f9d3b50..4bc23e2a57 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -282,6 +282,10 @@ function wfReadOnly() { * * @param $key String: lookup key for the message, usually * defined in languages/Language.php + * + * This function also takes extra optional parameters (not + * shown in the function definition), which can by used to + * insert variable text into the predefined message. */ function wfMsg( $key ) { $args = func_get_args(); @@ -522,6 +526,7 @@ function wfMsgWikiHtml( $key ) { * parseinline: parses wikitext to html and removes the surrounding p's added by parser or tidy * escape: filters message trough htmlspecialchars * replaceafter: parameters are substituted after parsing or escaping + * parsemag: ?? */ function wfMsgExt( $key, $options ) { global $wgOut, $wgMsgParserOptions, $wgParser; -- 2.20.1