diff --git a/Popups.php b/Popups.php index 8b2aa62b5..46047ed50 100644 --- a/Popups.php +++ b/Popups.php @@ -34,5 +34,5 @@ if ( function_exists( 'wfLoadExtension' ) ) { ); */ return; } else { - die( 'This version of the Popups extension requires MediaWiki 1.25+' ); + die( 'This version of the Popups extension requires MediaWiki 1.30+' ); } diff --git a/extension.json b/extension.json index a9f673d3e..9629dc4bf 100644 --- a/extension.json +++ b/extension.json @@ -8,6 +8,9 @@ "descriptionmsg": "popups-desc", "license-name": "GPL-2.0+", "type": "betafeatures", + "requires": { + "MediaWiki" : ">= 1.30.0" + }, "AutoloadClasses": { "Popups\\PopupsHooks": "includes/PopupsHooks.php", "Popups\\PopupsContext": "includes/PopupsContext.php",