Don't attempt to stash new section edits
authorOri Livneh <ori@wikimedia.org>
Thu, 4 Dec 2014 02:03:29 +0000 (18:03 -0800)
committerOri Livneh <ori@wikimedia.org>
Thu, 4 Dec 2014 02:19:20 +0000 (18:19 -0800)
commitc4f67e5a3a8c3286487ad10b575730c9b0204b0a
tree54bf94f5d1db0ec0c9d527a43c556c7a1db59d74
parentafd317ac50878f750fccecc3fb4064c350991e34
Don't attempt to stash new section edits

The parser output of edits produced via the 'new section' interface varies on
both the edit body and the edit summary (since it determines the new section's
name). So there isn't an early point in the edit process where we can start
computing the edit output. We have to wait for the user to be completely
done, by which point edit-stashing provides no advantage.

Change-Id: Ida461e08189b75c5a508628d11dc929a6138814a
resources/src/mediawiki.action/mediawiki.action.edit.stash.js