Index: trunk/extensions/DiscussionThreading/DiscussionThreading.php |
— | — | @@ -47,7 +47,8 @@ |
48 | 48 | global $wgVersion; |
49 | 49 | $xversion = explode(".",$wgVersion); |
50 | 50 | if ($xversion[0] <= "1" && $xversion[1] <= "11") { |
51 | | - global $wgMessageCache, $messages; |
| 51 | + global $wgMessageCache, $messages,$wgExtensionMessagesFiles; |
| 52 | + require_once($wgExtensionMessagesFiles['DiscussionThreading']); |
52 | 53 | foreach( $messages as $lang => $LangMsg ) |
53 | 54 | $wgMessageCache->addMessages( $LangMsg, $lang ); |
54 | 55 | } else wfLoadExtensionMessages( 'DiscussionThreading' ); |