return wfMsgReal( $key, $args, true );
}
-/**
- * Get a message in the user interface language and replace wiki
- * links with clickable ones, escaping other HTML
- *
- * @param string $key Message key
- * @return string
- */
-function wfMsgWithLinks( $key ) {
- global $wgUser;
- $args = func_get_args();
- return $wgUser->getSkin()->formatLinksInComment( htmlspecialchars(
- call_user_func_array( 'wfMsg', $args ) ) );
-}
-
/**
* Same as above except doesn't transform the message
*/
return wfMsgReal( $key, $args, true, $forcontent );
}
-/**
- * Get a message in the content language and replace wiki
- * links with clickable ones, escaping other HTML
- *
- * @param string $key Message key
- * @return string
- */
-function wfMsgForContentWithLinks( $key ) {
- global $wgUser;
- return $wgUser->getSkin()->formatLinksInComment( htmlspecialchars(
- call_user_func_array( 'wfMsgForContent', func_get_args() ) ) );
-}
-
/**
* Same as above except doesn't transform the message
*/