Various edit stash fixes
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 9 Dec 2014 21:48:17 +0000 (13:48 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 9 Dec 2014 21:50:00 +0000 (13:50 -0800)
commit3a030622b56e2c8fa8de639bc5006d30a95c7348
tree69fad172eff3f644f3e0e1edade5c66b76bd7536
parent9015ffdcf0c0e1a3b2ba924eb8dd4f1f3751e882
Various edit stash fixes

* Unlock the key at the right point, so checkCache actually sees the result
* Turn CRLF to LF just as EditPage does via getText(), this avoids misses
* Added a bit more debug logging

Change-Id: I5c296325ebee2501e5de59b8090e1ddde8689f17
includes/api/ApiStashEdit.php