parser: add vary-revision-sha1 and related ParserOutput methods
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 4 Jul 2019 10:01:31 +0000 (03:01 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 17 Jul 2019 05:12:18 +0000 (05:12 +0000)
commitdd6ed7840f21cb31c0816a26cb2836a9de42d2b3
tree5be281d6fbe120ef58853818ce1f888bfefc1b93
parent3ff807dd9a8e1e787b1290f610a5dff5739cd53c
parser: add vary-revision-sha1 and related ParserOutput methods

This can be used to avoid double parsed on save if the prior output
can be reused in-spite of involving a self content reference.

Change-Id: Idcd30a3fa3f7012dac76ce8bbf46625453ae331f
includes/Revision/RenderedRevision.php
includes/Storage/PageEditStash.php
includes/parser/CoreParserFunctions.php
includes/parser/Parser.php
includes/parser/ParserOutput.php
tests/parser/ParserTestRunner.php
tests/parser/parserTests.txt