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
(from parent 1:
5dc646e
)
Use specified pageId for LinksDeletionUpdate→DeleteLinksJob
author
Brad Jorsch
<bjorsch@wikimedia.org>
Thu, 15 Oct 2015 13:09:02 +0000
(09:09 -0400)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Thu, 15 Oct 2015 13:09:02 +0000
(09:09 -0400)
Not page->getId() which may now be 0 due to the page having been
deleted.
Bug: T115586
Change-Id: I5a3482bbe1df23dda0f33e7d675b06d616395bb6
includes/deferred/LinksDeletionUpdate.php
patch
|
blob
|
history
diff --git
a/includes/deferred/LinksDeletionUpdate.php
b/includes/deferred/LinksDeletionUpdate.php
index
d784840
..
4a7b991
100644
(file)
--- a/
includes/deferred/LinksDeletionUpdate.php
+++ b/
includes/deferred/LinksDeletionUpdate.php
@@
-108,7
+108,7
@@
class LinksDeletionUpdate extends SqlDataUpdate implements EnqueueableDataUpdate
'wiki' => $this->mDb->getWikiID(),
'job' => new JobSpecification(
'deleteLinks',
- array( 'pageId' => $this->page
->getId()
),
+ array( 'pageId' => $this->page
Id
),
array( 'removeDuplicates' => true ),
$this->page->getTitle()
)