Improvements to {{REVISIONUSER}} handling
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 10 Jun 2016 06:22:45 +0000 (23:22 -0700)
committerOri.livneh <ori@wikimedia.org>
Tue, 14 Jun 2016 19:28:09 +0000 (19:28 +0000)
commit147f79eedd24482d4c333e589fba418cba07a6fa
treed53291c602195ae23f9c37f417e0e91dad47b7ec
parent406d6a2b46fb4afcfae0840b7c6b5a346f3272c2
Improvements to {{REVISIONUSER}} handling

* Do not change the result to a null editing user anymore.
* Use a new vary-user flag instead of vary-revision. This
  will only cause a reparse on null edits. Normal edits
  can still use the prepared output now.
* Edit stashing now applies for pages with this magic word.
* Fixed bug where the second prepareContentForEdit() call
  (due to vary-X flags) would still check the edit stash.

Bug: T135261
Bug: T136678
Change-Id: Id1733443ac3bf053ca61e5ae25db3fbf4499e9f9
includes/Revision.php
includes/page/WikiPage.php
includes/parser/Parser.php