X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FconvertExtensionToRegistration.php;h=4ae95587030b64ae04cba34a93af653b6536175d;hb=1797b20c8e675d92594be2a6b0c2f319f11026b0;hp=0205311ae18a08222490ea01d9154245a068060b;hpb=11ee7f78da9776db26098642a151a288f98bea14;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/convertExtensionToRegistration.php b/maintenance/convertExtensionToRegistration.php index 0205311ae1..4ae9558703 100644 --- a/maintenance/convertExtensionToRegistration.php +++ b/maintenance/convertExtensionToRegistration.php @@ -144,6 +144,11 @@ class ConvertExtensionToRegistration extends Maintenance { unset( $this->json[$key] ); } } + // Set a requirement on the MediaWiki version that the current MANIFEST_VERSION + // was introduced in. + $out['requires'] = [ + ExtensionRegistry::MEDIAWIKI_CORE => ExtensionRegistry::MANIFEST_VERSION_MW_VERSION + ]; $out += $this->json; // Put this at the bottom $out['manifest_version'] = ExtensionRegistry::MANIFEST_VERSION;