Don't stash on preview if $wgAjaxEditStash=false
authorTim Starling <tstarling@wikimedia.org>
Thu, 5 May 2016 05:56:24 +0000 (15:56 +1000)
committerTim Starling <tstarling@wikimedia.org>
Thu, 5 May 2016 05:56:24 +0000 (15:56 +1000)
commit092d20be71e50cb014aa00624c2782327a919f46
tree4decd26e962ddead27c7d9270adfdd6b7605c681
parent6a8de1f1aa0bcdbf9385a4f9a01a4ef3bb70be57
Don't stash on preview if $wgAjaxEditStash=false

Since WikiPage won't check the cache, there's no point in storing it.
Also, this allows the feature to be completely disabled for debugging
etc.

Change-Id: Ibc00e4b20f17091b097a51877123ab9f62fd7f2a
includes/EditPage.php