dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e130859
)
Made EnqueueJob use the same dummy title as the JobSpecification default
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 3 Aug 2015 19:59:25 +0000
(12:59 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 4 Aug 2015 22:10:29 +0000
(15:10 -0700)
Change-Id: Ice0056fd4a74f2de6d6c7622b1e4e62fad1927e9
includes/jobqueue/jobs/EnqueueJob.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/jobs/EnqueueJob.php
b/includes/jobqueue/jobs/EnqueueJob.php
index
a3b6b96
..
c7ee9b6
100644
(file)
--- a/
includes/jobqueue/jobs/EnqueueJob.php
+++ b/
includes/jobqueue/jobs/EnqueueJob.php
@@
-74,7
+74,10
@@
final class EnqueueJob extends Job {
}
}
- $eJob = new self( Title::newMainPage(), array( 'jobsByWiki' => $jobMapsByWiki ) );
+ $eJob = new self(
+ Title::makeTitle( NS_SPECIAL, 'Badtitle/' . __CLASS__ ),
+ array( 'jobsByWiki' => $jobMapsByWiki )
+ );
// If *all* jobs to be pushed are to be de-duplicated (a common case), then
// de-duplicate this whole job itself to avoid build up in high traffic cases
$eJob->removeDuplicates = $deduplicate;