Manual:WfMsgExt

wfMsgExt is a mediawiki function within GlobalFunctions.php to retrieve the contents of a system message as listed in Special:Allmessages


 * function wfMsgExt( $key, $options ) : string.

returned string is value of the specified system message for the currently active language.

$key string representing a valid message-id

$options is a string containing (a combination of):

Related functions
 * wfMsg
 * wfMsgHtml
 * wfMsgWikiHtml
 * wfMsgForContent