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 one of the following options (or an array containing one or more of these strings):

Related functions
 * wfMsg
 * wfMsgHtml
 * wfMsgWikiHtml
 * wfMsgForContent