X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdoMaintenance.php;h=94ae95d73d2631f713bef4baea7cd0fb677507d7;hb=0bb36bf5aaa72e3af0d7e47177895184f315fbb6;hp=1c53fe84000a64d117ce2d4657eae3d59a271b6f;hpb=7621b57d958d0753236221227cbfb519d7faf192;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/doMaintenance.php b/maintenance/doMaintenance.php index 1c53fe8400..94ae95d73d 100644 --- a/maintenance/doMaintenance.php +++ b/maintenance/doMaintenance.php @@ -61,6 +61,7 @@ if ( !defined( 'MW_CONFIG_CALLBACK' ) && !defined( 'MW_CONFIG_FILE' ) ) { // Custom setup for Maintenance entry point if ( !defined( 'MW_SETUP_CALLBACK' ) ) { + function wfMaintenanceSetup() { // phpcs:ignore MediaWiki.NamingConventions.ValidGlobalName.wgPrefix global $maintenance, $wgLocalisationCacheConf, $wgCacheDirectory; @@ -75,6 +76,7 @@ if ( !defined( 'MW_SETUP_CALLBACK' ) ) { $maintenance->finalSetup(); } + define( 'MW_SETUP_CALLBACK', 'wfMaintenanceSetup' ); }