From 312394f35ba2fa51f44b94ba5db3930573bb9813 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Sat, 2 Jan 2010 15:03:17 +0000 Subject: [PATCH] Fix for r58980: use wfMsgForContent --- includes/SkinTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.20.1