HomePhabricator

SpecialRunJobs: Use MediaWiki's built-in async/post-send mode

Description

SpecialRunJobs: Use MediaWiki's built-in async/post-send mode

Disabling OutputPage is fine, but disabling MediaWiki's own
output handling from MediaWiki.php as well (with ignore_user_abort
and ob_flush) made this code incompatible with becoming an API module.

Make use of DeferredUpdates instead, MediaWiki's built-in post-send
mechanism.

Bug: T175146
Change-Id: Ia131341d447fd6501a070da89cd3a2af470e0f7d

Details

Provenance
KrinkleAuthored on Oct 12 2017, 12:01 AM
aaronCommitted on Oct 14 2017, 1:11 AM
Parents
rMWe994e89e76c2: Merge "deferred: Introduce TransactionRoundDefiningUpdate"
Branches
Unknown
Tags
Unknown
Tasks
T175146: [RfC] Move RunJobs.php to the mediawiki (core) repository
ChangeId
Ia131341d447fd6501a070da89cd3a2af470e0f7d