Index: trunk/extensions/ApprovedRevs/ApprovedRevs_body.php |
— | — | @@ -206,6 +206,7 @@ |
207 | 207 | |
208 | 208 | public static function loadMessages() { |
209 | 209 | // for backwards compatibility |
| 210 | + global $wgVersion; |
210 | 211 | if ( version_compare( $wgVersion, '1.16', '<' ) ) { |
211 | 212 | wfLoadExtensionMessages( 'ApprovedRevs' ); |
212 | 213 | } |