Last modified: 2014-02-12 23:35:36 UTC
action=submit and therefore wgAction = 'submit' is now used for previewing the new content as well as to see the diff. There are various gadgets, which are useful for preview but completely useless on diff (or vice versa), but take resources, sometimes even interact incorrectly because of no easy way to distinguish between the real *actions*. Changing the value of wgAction to proper one or add another variable (wgSubAction? ;-)) should not be an issue. The question is, if it is feasibly solveable also on URL level.
> The question is, if it is feasibly solveable also on URL level. The answer here is 'no'. This is simply how HTML POST form submission works – you can't change the URL from the form, only the data sent. We could use some JS hacks, of course, but it's not really a good solution. > There are various gadgets, which are useful for preview but completely > useless > on diff (or vice versa), but take resources, sometimes even interact > incorrectly because of no easy way to distinguish between the real *actions*. > Changing the value of wgAction to proper one or add another variable > (wgSubAction? ;-)) should not be an issue. While this is probably feasible, IMO the real solution would be the introduction of mw.hooks (bug 23580, bug 30713, and their blocked bugs). Bear in mind that you can also have preview/diff without reloading the page, using the 'live preview' feature you can enable in prefs or one of the dozens gadgets out there that do the same.