Make RefreshLinksJob MCR compliant.
authordaniel <dkinzler@wikimedia.org>
Mon, 8 Oct 2018 12:32:03 +0000 (14:32 +0200)
committerdaniel <dkinzler@wikimedia.org>
Mon, 8 Oct 2018 17:20:13 +0000 (19:20 +0200)
commit6248556b5e9d0e2e257cf46366a85c9ff80d6c83
tree2adfb12f1dc5964a99001d31c254fbed061532b4
parent936b958cb960ceb4b475d0c2771ff2076163d5e3
Make RefreshLinksJob MCR compliant.

So far, RefreshLinksJob re-generated the ParserOutput ba calling
Content::getParserOutput. This only works for the main slot. It
needs to instead get the parser output for all slots combiend,
by using RevisionRenderer and RenderedRevision.

Bug: T174035
Change-Id: I253dda26bfa5aefa15f8b1dcc59e69fc7e9d0cb7
includes/jobqueue/jobs/RefreshLinksJob.php
tests/phpunit/includes/jobqueue/jobs/RefreshLinksJobTest.php [new file with mode: 0644]