Skip to content

Commit 247b534

Browse files
committed
Fix outdated compat check
1 parent 55524f4 commit 247b534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MapsRegistration.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public static function onRegistration( array $credits ) {
3838
throw new Exception( 'You need to have Validator installed in order to use Maps' );
3939
}
4040

41-
if ( version_compare( $GLOBALS['wgVersion'], '1.27c', '<' ) ) {
41+
if ( version_compare( $GLOBALS['wgVersion'], '1.31c', '<' ) ) {
4242
throw new Exception(
43-
'This version of Maps requires MediaWiki 1.27 or above; use Maps 4.2.x for older versions.'
43+
'This version of Maps requires MediaWiki 1.31 or above; use Maps 5.6.x for older versions.'
4444
. ' More information at https://github.com/JeroenDeDauw/Maps/blob/master/INSTALL.md'
4545
);
4646
}

0 commit comments

Comments
 (0)