Index: trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php |
— | — | @@ -253,7 +253,8 @@ |
254 | 254 | * @since 1.5.1 |
255 | 255 | */ |
256 | 256 | function smwfLoadExtensionMessages( $extensionName ) { |
257 | | - if ( function_exists( 'wfLoadExtensionMessages' ) ) { |
| 257 | + global $wgVersion; |
| 258 | + if ( version_compare( $wgVersion, '1.16', '<' ) ) { |
258 | 259 | wfLoadExtensionMessages( $extensionName ); |
259 | 260 | } |
260 | 261 | } |