Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585448
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
887 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment