From: Bryan Tong Minh Date: Sat, 2 Jan 2010 15:03:17 +0000 (+0000) Subject: Fix for r58980: use wfMsgForContent X-Git-Tag: 1.31.0-rc.0~38438 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=312394f35ba2fa51f44b94ba5db3930573bb9813;p=lhc%2Fweb%2Fwiklou.git Fix for r58980: use wfMsgForContent --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 0a7085f1f3..fca61160c3 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -742,8 +742,8 @@ class SkinTemplate extends Skin { if ( ( $wgArticle && $wgArticle->isCurrent() && $istalk ) || $wgOut->showNewSectionLink() ) { if ( !$wgOut->forceHideNewSectionLink() ) { $urlArgs = 'action=edit§ion=new'; - $preloadMsg = wfMsg( 'talk-addsection-preload' ); - $editintroMsg = wfMsg( 'talk-addsection-editintro' ); + $preloadMsg = wfMsgForContent( 'talk-addsection-preload' ); + $editintroMsg = wfMsgForContent( 'talk-addsection-editintro' ); if( '' != $preloadMsg ) { $urlArgs .= '&preload=' . urlencode( $preloadMsg ); }