X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FupdateCredits.php;h=25ce3ceb12572323a82e767df83d2f912e6ff4a6;hb=4d10bb14e81aadb907a00e4bd13973ef668ab1f8;hp=b7e8c1ccd3e26fedf1bb372ee746cb602cf6933a;hpb=6f7e982df6479e27c3b17f2deda8404ef55f50e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateCredits.php b/maintenance/updateCredits.php index b7e8c1ccd3..25ce3ceb12 100644 --- a/maintenance/updateCredits.php +++ b/maintenance/updateCredits.php @@ -26,6 +26,12 @@ if ( PHP_SAPI != 'cli' ) { die( "This script can only be run from the command line.\n" ); } +// class Collator is provided by the intl extension. +// It is only suggested in composer.json, so remind here when not loaded. +if ( !extension_loaded( 'intl' ) ) { + die( "This script needs the 'intl' extension to be loaded." ); +} + $CREDITS = 'CREDITS'; $START_CONTRIBUTORS = ''; $END_CONTRIBUTORS = '';