mediawiki-extensions-Visual.../modules/ve/init/mw
Timo Tijhof 2732e09396 mw.ViewPageTarget: Implement veaction=edit history state
Browser history state:
* Listen for popstate, if veaction is different, act on it
  (by calling activate or deactivate).
* When switching to edit mode, push veaction=edit.
  When switching to view mode, push non-veaction.
  Except if the switch was made by the popstate listener in
  which case we don't want to push again.

Clean up:
* Use document.location.href instead of odd location.toString
  Don't pass it to mw.Uri from the original one since it
  takes the current url by default.

Bug: 43844
Change-Id: I5c345c1526852a84b04436955845bf1b56d94402
2013-06-06 15:31:14 +00:00
..
styles Show warning when commit message is empty and preference is set 2013-05-21 08:02:16 +02:00
targets mw.ViewPageTarget: Implement veaction=edit history state 2013-06-06 15:31:14 +00:00
ve.init.mw.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.init.mw.Platform.js Remove all code related to change markers 2013-04-30 23:15:47 +01:00
ve.init.mw.Target.js Fixes to permaturely merged browser compatibility checks 2013-06-05 18:11:59 +02:00