diff --git a/Duoshuo/Duoshuo.php b/Duoshuo/Duoshuo.php index a839125..6039f33 100644 --- a/Duoshuo/Duoshuo.php +++ b/Duoshuo/Duoshuo.php @@ -93,9 +93,9 @@ public static function onSkinAfterContent(&$data, $skin = null) die(1); } - $data .= wfMsgForContent('duoshuo-before') + $data .= wfMessage('duoshuo-before')->inContentLanguage()->text() . '
' - . wfMsgForContent('duoshuo-after'); + . wfMessage('duoshuo-after')->inContentLanguage()->text(); return true; }