From 4bc3aeeaa0f90cdb905319195e4bac4ad2c4914e Mon Sep 17 00:00:00 2001 From: Piotr Miazga Date: Mon, 24 Jul 2017 16:12:03 +0200 Subject: [PATCH] Hygiene: Update required MediaWiki version Per I28003c5898d64031e1efb212cb0bec58ff44b958 Popups require at least MediaWiki version 1.30. Documentation should respect that Change-Id: Ifc87ac5cdcf61ae54cefe3f6ccab7aac5c52e0a6 --- Popups.php | 2 +- extension.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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",