MediaWiki
REL1_23
|
Special page designed for running background tasks (internal use only) More...
Public Member Functions | |
__construct () | |
execute ($par= '') | |
Default execute method Checks user permissions, calls the function given in mFunction. | |
Static Public Member Functions | |
static | executeJobs ($maxJobs) |
Run jobs from the job queue. | |
static | getQuerySignature (array $query) |
Special page designed for running background tasks (internal use only)
Definition at line 30 of file SpecialRunJobs.php.
Definition at line 31 of file SpecialRunJobs.php.
SpecialRunJobs::execute | ( | $ | subPage = '' | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This must be overridden by subclasses; it will be made abstract in a future version
string | null | $subPage |
Reimplemented from SpecialPage.
Definition at line 35 of file SpecialRunJobs.php.
References $params, $result, array(), executeJobs(), SpecialPage\getOutput(), getQuerySignature(), SpecialPage\getRequest(), print, and wfReadOnly().
static SpecialRunJobs::executeJobs | ( | $ | maxJobs | ) | [static] |
Run jobs from the job queue.
integer | $maxJobs | Maximum number of jobs to run |
Definition at line 123 of file SpecialRunJobs.php.
References $count, $e, $job, $n, $output, $success, $t, MWExceptionHandler\logException(), MWExceptionHandler\rollbackMasterChangesAndLog(), JobQueueGroup\singleton(), JobQueueGroup\TYPE_DEFAULT, JobQueueGroup\USE_CACHE, wfDebugLog(), wfProfileIn(), and wfProfileOut().
Referenced by execute().
static SpecialRunJobs::getQuerySignature | ( | array $ | query | ) | [static] |
array | $query |
Definition at line 108 of file SpecialRunJobs.php.
References global, and wfArrayToCgi().
Referenced by execute().