Page MenuHomePhorge

No OneTemporary

Size
887 B
Referenced Files
None
Subscribers
None
diff --git a/includes/jobqueue/jobs/RefreshLinksJob.php b/includes/jobqueue/jobs/RefreshLinksJob.php
index 3cc3eb3a63b..6594636e7be 100644
--- a/includes/jobqueue/jobs/RefreshLinksJob.php
+++ b/includes/jobqueue/jobs/RefreshLinksJob.php
@@ -465,8 +465,9 @@ class RefreshLinksJob extends Job {
// Collect stats on parses that don't actually change the page content.
// In that case, we could abort here, and perhaps we could also avoid
// triggering CDN purges (T369898).
- if ( !$cachedOutput ) {
- // There was no cached output
+ if ( !$cachedOutput || !$output->hasText() ) {
+ // There was no cached output, or no HTML was generated because
+ // shouldGenerateHTMLOnEdit returned false.
$htmlChanged = 'unknown';
} elseif ( $cachedOutput->getRawText() === $output->getRawText() ) {
// We have cached output, but we couldn't be sure that it was still good.

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:33 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227852
Default Alt Text
(887 B)

Event Timeline