https://bugzilla.wikimedia.org/show_bug.cgi?id=51565
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|VisualEditor: save needs to |VisualEditor: Trigger |cleanly refresh the page, |"wikipage.content" hook |rather than using the |when rendering new revision |parsoid DOM |after save --- Comment #2 from Krinkle <[email protected]> --- No, we should not refresh because of this. This is not a new bug, this is a known issue in mediawiki core for years with "live preview". The difference being that in 2013 (unlike several years ago when live preview came along) we have solved this. Recently I developed mw.hook in core with an event "wikipage.content". Gadgets should listen to that instead of document-ready. Refreshing for every rendering is not a solution but a work around to have the native browser document trigger "ready" again. The solution is to have these wikipage (not html document) related actions be bound to its ready event and be able to fire that on-demand if the wiki page has changed (e.g. due to ajax navigation, live preview or page rendering like VisualEditor). This has been solved and it is up to gadgets to start using it. I'm rephrasing this bug to instead be a task for VisualEditor to start using this event (like LivePreview does in core). -- 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
