X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2Fupdate.php;h=0103189944e2df881d7a29b4719ff01bcf54dfa5;hb=de764f68dcc194030ed5918f5e647384b6f00eff;hp=43b10c858bc2f0c9ca39ce4ebe7bc28115607fe7;hpb=d7bad7704f67dc887a77e4de7581931b7915d04b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/update.php b/maintenance/update.php index 43b10c858b..0103189944 100755 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -25,7 +25,6 @@ * @ingroup Maintenance */ -$wgUseMasterForMaintenance = true; require_once __DIR__ . '/Maintenance.php'; /** @@ -83,6 +82,13 @@ class UpdateMediaWiki extends Maintenance { "ABORTING (see https://bugs.php.net/bug.php?id=45996).\n", true ); } + + if ( !function_exists( 'mb_strlen' ) ) { + $this->error( + "MediaWiki now requires the mbstring PHP extension, your system doesn't have it.\n" + . "ABORTING.\n", + true ); + } } function execute() {