Avoid setting vary-revision for {{REVISIONSIZE}}
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 10 Jun 2016 04:46:54 +0000 (21:46 -0700)
committerOri.livneh <ori@wikimedia.org>
Mon, 13 Jun 2016 23:00:05 +0000 (23:00 +0000)
commit457431b57bd046813cc99385bafd317154a862ab
treecb686dbb00b579ced4ab82ee27e077c0b10801a7
parentcb68ff02309f090bd297e0a49fc81727c4bd3371
Avoid setting vary-revision for {{REVISIONSIZE}}

Just always use the input size for new revisions. If they are
saved, then that should be the revision size. If they are just
null edits, then the size must have matched the current revision.

This also enables edit stashing for this case.

Change-Id: I428c0cc87750eeddd1d7dcebd1a2b03817cec441
includes/parser/Parser.php