Aaron Schulz has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/378028 )
Change subject: Avoid page language queries by using LinkBatch in
HTMLCacheUpdateJob
......................................................................
Avoid page language queries by using LinkBatch in HTMLCacheUpdateJob
Change-Id: Ie2fa64400f05d90e615bd8ff26225e197605d244
---
M includes/jobqueue/jobs/HTMLCacheUpdateJob.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/28/378028/1
diff --git a/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
b/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
index 4c16d7f..16409c2 100644
--- a/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
+++ b/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
@@ -144,6 +144,7 @@
) );
// Update CDN; call purge() directly so as to not bother with
secondary purges
+ ( new LinkBatch( $titleArray ) )->execute();
$urls = [];
foreach ( $titleArray as $title ) {
/** @var Title $title */
--
To view, visit https://gerrit.wikimedia.org/r/378028
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie2fa64400f05d90e615bd8ff26225e197605d244
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits