Per r97367 CR. Add 'alpha'. 1.18alpha is less than 1.18, and it works in that version as well

This commit is contained in:
Krinkle 2011-09-17 16:34:58 +00:00
parent e941ac9d18
commit c818d05339

View file

@ -17,7 +17,7 @@ if( !defined( 'MEDIAWIKI' ) ) {
die( 1 ); die( 1 );
} }
if ( version_compare( $wgVersion, '1.18', '<' ) ) { if ( version_compare( $wgVersion, '1.18alpha', '<' ) ) {
die( "This version of Extension:Gadgets requires MediaWiki 1.18+\n" ); die( "This version of Extension:Gadgets requires MediaWiki 1.18+\n" );
} }