diff options
Diffstat (limited to 'MLEB/Translate/scripts/updateTranslatorActivity.php')
-rw-r--r-- | MLEB/Translate/scripts/updateTranslatorActivity.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MLEB/Translate/scripts/updateTranslatorActivity.php b/MLEB/Translate/scripts/updateTranslatorActivity.php new file mode 100644 index 00000000..a4d7a852 --- /dev/null +++ b/MLEB/Translate/scripts/updateTranslatorActivity.php @@ -0,0 +1,10 @@ +<?php + +use MediaWiki\Extensions\Translate\Statistics\UpdateTranslatorActivityMaintenanceScript; + +$env = getenv( 'MW_INSTALL_PATH' ); +$IP = $env !== false ? $env : __DIR__ . '/../../..'; +require_once "$IP/maintenance/Maintenance.php"; +require_once __DIR__ . '/../src/Statistics/UpdateTranslatorActivityMaintenanceScript.php'; +$maintClass = UpdateTranslatorActivityMaintenanceScript::class; +require_once RUN_MAINTENANCE_IF_MAIN; |