Set getDeduplicationInfo() for HTMLCacheUpdateJob
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 19 Oct 2017 19:39:56 +0000 (12:39 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 20 Oct 2017 05:38:58 +0000 (22:38 -0700)
commit2cb965c5a5393a168fe71561e5dfe8d2bb9fce98
tree09ec4ee1f8152ab08455d5a269e3d6377114b78b
parent605d3add72cbaae042209c17634783452c224414
Set getDeduplicationInfo() for HTMLCacheUpdateJob

This allows de-duplication of single page jobs for the
same page due to edits to different templates. This is
the same logic that RefreshLinksJob already has.

Also fix a bug in that method in RefreshLinksJob.

Change-Id: I2f79031c945eb3d195f9dbda949077bbc3e67918
includes/jobqueue/jobs/HTMLCacheUpdateJob.php
includes/jobqueue/jobs/RefreshLinksJob.php