X-Git-Url: http://git.cyclocoop.org/%27%2C%20%20%20quote_amp%28%24url%29%2C%20%20%20%27?a=blobdiff_plain;f=includes%2Fjobqueue%2Fjobs%2FRefreshLinksJob.php;h=33b05b857155bce9c0f809a1f9cccb4c96956049;hb=a5c7fd0db2d962834127ec2362d0dfe8ef6852d5;hp=b4046a61bc15da2825fa33e712b0f2364d133cf8;hpb=ca3083c61e413c76e28bdfe59b236d3e818284d2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/jobs/RefreshLinksJob.php b/includes/jobqueue/jobs/RefreshLinksJob.php index b4046a61bc..33b05b8571 100644 --- a/includes/jobqueue/jobs/RefreshLinksJob.php +++ b/includes/jobqueue/jobs/RefreshLinksJob.php @@ -276,8 +276,8 @@ class RefreshLinksJob extends Job { $title = $page->getTitle(); // Get the latest ID since acquirePageLock() in runForTitle() flushed the transaction. // This is used to detect edits/moves after loadPageData() but before the scope lock. - // The works around the chicken/egg problem of determining the scope lock key name. - $latest = $title->getLatestRevID( Title::GAID_FOR_UPDATE ); + // The works around the chicken/egg problem of determining the scope lock key name + $latest = $title->getLatestRevID( Title::READ_LATEST ); $triggeringRevisionId = $this->params['triggeringRevisionId'] ?? null; if ( $triggeringRevisionId && $triggeringRevisionId !== $latest ) {