From: Mark A. Hershberger Date: Fri, 21 May 2010 00:52:07 +0000 (+0000) Subject: re r66702 Use wfMsgForContent instead of wfMsg X-Git-Tag: 1.31.0-rc.0~36776 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=8bc618945da51980ab525cdfc470025cf1ae83f1;p=lhc%2Fweb%2Fwiklou.git re r66702 Use wfMsgForContent instead of wfMsg --- diff --git a/includes/User.php b/includes/User.php index 364503b1ed..b96c4d8df2 100644 --- a/includes/User.php +++ b/includes/User.php @@ -3761,7 +3761,7 @@ class User { $signature = empty($signature) ? "~~~~~" : "{$signature} ~~~~~"; - $template = Title::newFromText( wfMsg( 'usermessage-template' ) ); + $template = Title::newFromText( wfMsgForContent( 'usermessage-template' ) ); if ( !$template || $template->getNamespace() !== NS_TEMPLATE || !$template->exists() ) {