Aaron Schulz has uploaded a new change for review. Change subject: [JobQueue] Use target wiki configuration for some key functions. ......................................................................
[JobQueue] Use target wiki configuration for some key functions. * getQueueTypes() now gets the config of the target wiki. Previously, for WMF, if an extension using jobs was not on aawiki, those job queues would not be seen by nextJobDB. * Also fixed nextJobDB.php so that it no longer only considers jobs types known to aawiki for picking a DB for default jobs. * Note that $wgJobTypesExcludedFromDefaultQueue should be global. * This adds a wfGetConfig() function and getConfiguration.php script. Change-Id: I7e6904ead17efa407291f423a2b18e3c866d55fd --- M includes/GlobalFunctions.php M includes/job/JobQueueGroup.php A maintenance/getConfiguration.php M maintenance/nextJobDB.php 4 files changed, 154 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/78/47378/1 -- To view, visit https://gerrit.wikimedia.org/r/47378 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7e6904ead17efa407291f423a2b18e3c866d55fd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
