EnhancedChangesList: Use one TemplateParser instance
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 16 May 2017 22:43:35 +0000 (15:43 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 16 May 2017 22:43:35 +0000 (15:43 -0700)
commit52a63f01b5a6d133e6f153ca12bda00058270aae
tree259933211f02ddd47e7f4783c5172f369a971663
parent2d64890f3f67e08f98bc0628d769017deea20e6e
EnhancedChangesList: Use one TemplateParser instance

TemplateParser has an instance cache to avoid reading from APC
repeatedly for the same template, but that only works if the code uses
the same TemplateParser object.

Noticed while investigating T163154.

Change-Id: I645895a0965f7150e9a5aebc5a7788f27aa5a26d
includes/changes/EnhancedChangesList.php