X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=maintenance%2FrunJobs.php;h=929b5c976c651cd6a2e605218aad8de53b9ce32a;hb=d8c63d0ae57073490622d59751e3dd84ffd7af34;hp=2e011fecde54b2f356e9fdb1aed7b43f2192a5c8;hpb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index 2e011fecde..929b5c976c 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -25,6 +25,9 @@ require_once __DIR__ . '/Maintenance.php'; use MediaWiki\Logger\LoggerFactory; +// So extensions (and other code) can check whether they're running in job mode +define( 'MEDIAWIKI_JOB_RUNNER', true ); + /** * Maintenance script that runs pending jobs. *