https://bugzilla.wikimedia.org/show_bug.cgi?id=22680
Summary: Navigable TOC and Wiki-Editor break page caching.
Edits get erased when navigating back and forth
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Normal
Component: UsabilityInitiative
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Navigable TOC / Wiki-Editor break page caching, probably by using an "unload"
event, in Firefox (and probably other browsers too).
For details please see
https://developer.mozilla.org/En/Using_Firefox_1.5_caching
Essentially, page caching saves javascript states and iframe contents so that
accidentally navigating away from a page and coming back does not erase the
edits by reloading the page.
Unfortunately, registering an unload event handler breaks this caching. The
"pagehide" should be used in browsers that support caching instead of the
"unload" event.
If page caching is used when leaving a page can be tested in the "pagehide"
event handler with "event.persisted == true".
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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