dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "resources: Deprecate the 'jquery.badge' module"
[lhc/web/wiklou.git]
/
maintenance
/
runJobs.php
diff --git
a/maintenance/runJobs.php
b/maintenance/runJobs.php
index
2e011fe
..
929b5c9
100644
(file)
--- 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.
*