https://bugzilla.wikimedia.org/show_bug.cgi?id=43844
--- Comment #3 from Krinkle <[email protected]> --- We currently use ?veaction=edit as trigger for VisualEditor from a permanent url. This is implemented by checking the query parameter on page load and triggering init (just like a click on "VisualEditor" would do), and then we replace (without refresh) the url to drop this query parameter using the HTML5 History api (replaceState). I'd recommend we build on this by using pushState when VisualEditor is initialised (we can then remove the current behaviour as there's no longer any reason to remove it from the url). Note that it is slightly more complicated than just calling replaceState on init. We also need to listen on('popstate') to move back to read mode if the user presses Back to a url within the history that contains HTML5 history state data from VisualEditor. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
