Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/190735
Change subject: Explicitly mark HTMLCacheUpdateJob jobs that are recursive for
clarity
......................................................................
Explicitly mark HTMLCacheUpdateJob jobs that are recursive for clarity
Change-Id: I75dbe719ef034d4714d4d8262d1dee9fa78ba76b
---
M includes/deferred/HTMLCacheUpdate.php
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/35/190735/1
diff --git a/includes/deferred/HTMLCacheUpdate.php
b/includes/deferred/HTMLCacheUpdate.php
index e02cfbc..79a10e6 100644
--- a/includes/deferred/HTMLCacheUpdate.php
+++ b/includes/deferred/HTMLCacheUpdate.php
@@ -43,11 +43,11 @@
}
public function doUpdate() {
-
$job = new HTMLCacheUpdateJob(
$this->mTitle,
array(
'table' => $this->mTable,
+ 'recursive' => true
) + Job::newRootJobParams( // "overall" refresh links
job info
"htmlCacheUpdate:{$this->mTable}:{$this->mTitle->getPrefixedText()}"
)
@@ -63,6 +63,5 @@
$job->run(); // just do the purge query now
} );
}
-
}
}
--
To view, visit https://gerrit.wikimedia.org/r/190735
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I75dbe719ef034d4714d4d8262d1dee9fa78ba76b
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