Last modified: 2014-11-10 21:17:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57370, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55370 - VisualEditor: Implement some form of auto-save
VisualEditor: Implement some form of auto-save
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
: 52988 (view as bug list)
Depends on: 72658
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-06 15:32 UTC by Ed Sanders
Modified: 2014-11-10 21:17 UTC (History)
12 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ed Sanders 2013-10-06 15:32:51 UTC
With wikitext editing, people work around this by writing long articles in word, or relying on browsers remembering form data if it crashes.

Perhaps with local storage we can take periodic snapshots of DM HTML, or even the entire surface state (DM data, IV store, internal list, transaction history etc.) and offer to restore it if the changes went unsaved.
Comment 1 John Mark Vandenberg 2013-10-06 23:17:47 UTC
Why not deploy the drafts extension, and add any VE support needed?
Comment 2 MZMcBride 2013-10-06 23:31:32 UTC
(In reply to comment #1)
> Why not deploy the drafts extension, and add any VE support needed?

[[mw:Extension:Drafts]], for those unfamiliar.
Comment 3 James Forrester 2013-10-08 21:22:13 UTC
(In reply to comment #1)
> Why not deploy the drafts extension, and add any VE support needed?

Have commented there explaining.
Comment 4 John Mark Vandenberg 2013-10-09 01:50:22 UTC
If local storage is going to be seriously considered, with pages being auto-saved, some issues to consider:

How many open VE's can be autosaved?  Only saving one VE session makes management very simple, but it is probably sufficient for only a small subset of the editing community.

The local storage limit of 5 MB in most user agents is going to be a problem.  Also VE needs to intelligently handle the case where the offline storage is not available or the origin has exceeded its limit.  The user needs to know when their session isnt being auto-saved due to client side factors.

Are these autosaved versions going to persist across browser sessions?

If the VE sessions do persist, how will VE determine which VE autosaved versions are no longer needed and can be deleted to allow more VE sessions to be autosaved in the future.  Will the user be able to manage which autosaves they no longer need?
Comment 5 James Forrester 2013-11-01 04:41:39 UTC
*** Bug 52988 has been marked as a duplicate of this bug. ***
Comment 6 Alex Monk 2014-04-16 20:35:37 UTC
See also: Wikitext editor patch for this: https://gerrit.wikimedia.org/r/#/c/5130/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links