Community Wishlist Survey 2023/Editing/Auto-save feature
Appearance
Auto-save feature
- Problem: When making larger edits, and in particular writing new articles, there is a possibility of data loss (possibly a few hours worth) due to:
- a power outage,
- a browser crash,
- a network outage (if one chooses to preview their changes while network is temporarily offline),
- accidental browser closure.
- It is a fairly standard feature in modern software to auto-save user edits to guard against such incidents. Auto-saving is ubiquitous in cloud-based software, where it has the added (or perhaps main) benefit of allowing the user not to think about saving their work/to carry on working on the same document in multiple sittings/across multiple devices. (This would arguably be desirable to have on Wiki in its own right.) "Offline" software also often has an auto-save feature, though generally for crash recovery only (e.g. LibreOffice).
- The code editor does not currently provide any kind of auto-save functionality, while the Visual Editor appears to have some sort of auto-save implemented, or so I gather based on phab:T57370 (I do not normally use Visual Editor, so cannot tell whether it is indeed present; if it is, then it appears to be both undocumented and hidden, with no indication in the UI that anything is being saved - so almost as good as if it wasn't there at all).
- Some workarounds that users, especially those who have experienced data loss in the past, are likely to employ include:
- periodically copying their work from the Wiki editor to an external program (e.g. Notepad) and saving it locally;
- writing whole articles in an external program and only copying them into a Wiki editor once ready;
- writing their article in their sandbox and saving regularly.
- Each of these is inconvenient/time-consuming/decreases productivity.
- Proposed solution: A reliable auto-save functionality which regularly saves user edits in the background, which works both in the code editor and the Visual Editor, which allows these edits to be restored in the 4 cases listed above.
- Desirable:
- An indicator in the UI of the editor which tells the user if or when the page they are editing was last saved - to reassure them that auto-save is indeed present and functioning, and thus they do not need to resort to any of the workarounds mentioned above.
- Saving these edits online (to Wiki servers), so as to allow the user to carry on working on one page in multiple sittings/across multiple devices. (Just to clarify: until published by the user, these edits should remain private and not visible to anyone else than the user in question).
- Who would benefit: All editors, but in particular:
- those who write larger articles, and two groups which, I believe, Wikimedia is particularly keen to recruit/retain:
- new editors, who are likely to be particularly discouraged if their hard work is lost,
- editors in countries, where power outages/"load shedding" occur frequently, which are disproportionally likely to be in the Global South (such as India or South Africa, if media reports are to be believed).
- those who write larger articles, and two groups which, I believe, Wikimedia is particularly keen to recruit/retain:
- More comments:
- Phabricator tickets:
- Proposer: Delta 51 (talk) 22:27, 23 January 2023 (UTC)
Discussion
- This already exists in the visual editor and 2017 wikitext editor, as a client-side only feature. Clearly it's not obvious though! The part of the request to extend this to the 2010 wikitext editor seems reasonable. Saving private drafts to the server is a really huge legal problem for obvious reasons. Jdforrester (WMF) (talk) 18:10, 25 January 2023 (UTC)
- But it doesn't work (at least for me) when browser crashes or on power outage. It only seems to remember small changes, mostly when you don't need them - additionally you can't deny them, because they're automatically restored. Some more reliable process should be developed, even a manual one. MarMi wiki (talk) 20:32, 10 February 2023 (UTC)
- I think that the major changes we could make to the existing autosave (without talk-to-Legal repercussions) are to add UI so it's more user-visible that it's happening, and to make it more durable -- it's currently in SessionStorage (which means it's great for the "oops I reloaded the tab / navigated-away / my browser crashed" cases but not for anything where you later come back in a different tab), which we picked because it mostly avoids us having to care about the many limits on LocalStorage. However, the new mw.storage API got added very-recently and automates this sort of expiry-needed case which might make it more appealing to use for us.... Adding it to WikiEditor is of course doable, albeit as an entirely separate implementation. Promoting 2017 out of beta (even without changing any defaults) would be another way to make this more accessible with minimal changes needed...DLynch (WMF) (talk) 19:05, 25 January 2023 (UTC)
- @DLynch (WMF) @Jdforrester (WMF), two questions:
- Is there something I need to do to turn this on in the 2017 wikitext editor? My drafts don't persist following a browser crash.
- For making it "more user-visible", is that something that an existing team would take on without needing a community vote?
- czar 22:13, 29 January 2023 (UTC)
- @Czar I don't know for sure, but it sounds like you might have a browser config/extension set that is clearing your local storage (inside your browser), which is where the draft is saved. There's no MW/VE preference involved. On the second point, I can't speak for the Editing team's planning, sorry! I imagine things will be clearer around what each team are doing once the Foundation's annual planning process is complete. Jdforrester (WMF) (talk) 17:08, 30 January 2023 (UTC)
- @Czar, you'd have to turn on the 2017 wikitext editor to get its features. It's the not-so-new "New wikitext mode" in Special:Preferences#mw-prefsection-betafeatures. Whatamidoing (WMF) (talk) 17:51, 31 January 2023 (UTC)
- @Czar I don't know for sure, but it sounds like you might have a browser config/extension set that is clearing your local storage (inside your browser), which is where the draft is saved. There's no MW/VE preference involved. On the second point, I can't speak for the Editing team's planning, sorry! I imagine things will be clearer around what each team are doing once the Foundation's annual planning process is complete. Jdforrester (WMF) (talk) 17:08, 30 January 2023 (UTC)
- @DLynch (WMF) @Jdforrester (WMF), two questions:
- We have recently merged a patch to move to LocalStorage for DiscussionTools' reply tool which will be an improvement. The problem for doing this in full document edits is we have to store the original document state (to avoid data-parsoid corruption) which could be several hundred kb. Multiply this by a few edit sessions and you could quickly overwhelm the low limits on LocalStorage (a few mb). If we could find another way to reliably stash the initial document state, this would be fairly trivial to switch over to. ESanders (WMF) (talk) 12:33, 26 January 2023 (UTC)
- Also note that LocalStorage is used for caching ResourceLoader modules (ie. CSS/JS). Given it usually has low quotas (5MB or such, and even that might be shared between sites with the same parent domain), storing article drafts there would reduce the amount of CSS/JS that gets cached, and potentially hurt site performance. Tgr (talk) 00:19, 5 February 2023 (UTC)
- I noticed a clear improvement on Discussions. Chrome can suspend a tab, or I can open the same talk page in a new tab, and my reply will be there in the edit box. Extremely nice. DFlhb (talk) 00:24, 5 February 2023 (UTC)
- I don't think the reasons for not wanting to do that on the server side are all that obvious, so it might be worth spelling (one of?) them out: server-side data storage can be shared between multiple users by sharing account credentials, and that can be used for all kinds of illegal activities. This has happened in the past with similar features. Tgr (talk) 00:22, 5 February 2023 (UTC)
- I had a Safari crash which lost me hours of editing, with the Visual Editor; it's still not bullet-proof enough. If you can figure out how to get around LocalStorage restrictions, that'd be really great. I still feel the need to constantly copy-paste things into text files, even with the Visual Editor. DFlhb (talk) 00:27, 5 February 2023 (UTC)
- For what is worth, there is a similar request from last year. DMaza (WMF) (talk) 18:19, 25 January 2023 (UTC)
- It is also known that there were a lot of votes in that proposal. Thingofme (talk) 03:40, 29 January 2023 (UTC)
- And in 2021, and in 2016 (36th and 31th, respectively). The relevant task is T75241. --Tgr (talk) 05:27, 5 February 2023 (UTC)
- This seems like a reasonable proposal. A concern I have for implementation is that we make it VERY clear to editors that this is not for storing drafts of pages/sections. We don't want a new editor work on a section over a period of several days, then try to publish it, only to find out there was an edit conflict. Perhaps delete the auto-saved text after a certain length of time (and inform the editor of such). Libcub (talk) 06:54, 11 February 2023 (UTC)
Voting
- Support OrcaLord (talk) 19:53, 10 February 2023 (UTC)
- Support Oh yes! MarMi wiki (talk) 20:20, 10 February 2023 (UTC)
- Support TheAmerikaner (talk) 20:26, 10 February 2023 (UTC)
- Support SeGiba (talk) 20:58, 10 February 2023 (UTC)
- Support Tom Ja (talk) 21:07, 10 February 2023 (UTC)
- Support Facu-el Millo (talk) 21:15, 10 February 2023 (UTC)
- Support --RoadTrain (talk) 21:22, 10 February 2023 (UTC)
- Support TLSOSLT (talk) 21:26, 10 February 2023 (UTC)
- Support Absolutely! I've had many instances where my browser freezes during a long edit and/or the page won't submit for whatever reason due to timing out. The auto-saved regularly doesn't work. Significa liberdade (talk) 21:38, 10 February 2023 (UTC)
- Support Iamawesomeautomatic (talk) 21:49, 10 February 2023 (UTC)
- Support Why wasn't this feature already implemented before? PureTuber (talk) 21:51, 10 February 2023 (UTC)
- Support--Proeksad (talk) 22:14, 10 February 2023 (UTC)
- Support Pamputt (talk) 22:32, 10 February 2023 (UTC)
- Support definitely have wished for this one many times! Joshbaumgartner (talk) 22:32, 10 February 2023 (UTC)
- Support Andrew D. (talk) 22:33, 10 February 2023 (UTC)
- Oppose WMF needs to stop working on the 2010 Wikitext editor and finally replace it with the 2017 Wikitext editor (where this feature is already supported) as they intended they were going to do. A feature should not be sitting in Beta this long. Maintaining 2 different editors at the same time is a nonsensical waste of resources. Lectrician1 (talk) 22:47, 10 February 2023 (UTC)
- Support A similar system to what OSM has would be great. Dmartin969 (talk) 22:49, 10 February 2023 (UTC)
- Support NMaia (talk) 23:23, 10 February 2023 (UTC)
- Support Graham11 (talk) 23:31, 10 February 2023 (UTC)
- Support No comment needed. Interstatefive (talk) 02:15, 11 February 2023 (UTC)
- Support Hehua (talk) 02:56, 11 February 2023 (UTC)
- Support Tgr (talk) 03:21, 11 February 2023 (UTC)
- Support Prof Ranga Sai (talk) 03:55, 11 February 2023 (UTC)
- Support JopkeB (talk) 05:24, 11 February 2023 (UTC)
- Support Huxly (talk) 06:04, 11 February 2023 (UTC)
- Support Soumendrak (talk) 06:22, 11 February 2023 (UTC)
- Support Nuretok (talk) 07:20, 11 February 2023 (UTC)
- Support Martin-78 (discutailler) 08:13, 11 February 2023 (UTC)
- Support V0lkanic (talk) 08:40, 11 February 2023 (UTC)
- Support Oltrepier (talk) 09:08, 11 February 2023 (UTC)
- Support Jeeputer (talk) 09:29, 11 February 2023 (UTC)
- Support Exilexi (talk) 09:35, 11 February 2023 (UTC)
- Support Hadi (talk) 10:30, 11 February 2023 (UTC)
- Support Lion-hearted85 (talk) 11:13, 11 February 2023 (UTC)
- Support Smetanakaviar (talk) 12:07, 11 February 2023 (UTC)
- Support Wikipelli (talk) 12:59, 11 February 2023 (UTC)
- Support --Crosstor (talk) 13:13, 11 February 2023 (UTC)
- Support LauraFarina (talk) 13:33, 11 February 2023 (UTC)
- Support Innitiative.35 (talk) 13:36, 11 February 2023 (UTC)
- Support Shizhao (talk) 13:40, 11 February 2023 (UTC)
- Support Lvova (talk) 13:48, 11 February 2023 (UTC)
- Support HereAndSometimesThere (talk) 14:11, 11 February 2023 (UTC)
- Support Dear gods yes, localStorage (or something) ftw! OwenBlacker (Talk) 14:38, 11 February 2023 (UTC)
- Support SanderProGamer (talk) 14:47, 11 February 2023 (UTC)
- Support Bluerasberry (talk) 14:54, 11 February 2023 (UTC)
- Support CROIX (talk) 15:11, 11 February 2023 (UTC)
- Support This is extremely needed in the Wikimedia wikis. Thingofme (talk) 15:48, 11 February 2023 (UTC)
- Support Nehaoua (talk) 16:05, 11 February 2023 (UTC)
- Support Rots61 (talk) 16:07, 11 February 2023 (UTC)
- Support Litev (talk) 17:36, 11 February 2023 (UTC)
- Support De nue pw (talk) 22:11, 11 February 2023 (UTC)
- Support daSupremo 23:06, 11 February 2023 (UTC)
- Support --Furfur ⁂ Discussion 23:46, 11 February 2023 (UTC)
- Support Gohan 03:50, 12 February 2023 (UTC)
- Support General Editor (talk) 06:34, 12 February 2023 (UTC)
- Support HLFan (talk) 07:24, 12 February 2023 (UTC)
- Support Molnár Gábor Dávid (talk) 14:26, 12 February 2023 (UTC)
- Strong oppose anything about that part that wants to create a server-side "private storage" location for individual editors. See also the huge oppose to such regarding sandboxes in a related wish. Improving this with mobile-client as client-side, and/or client-side with VE etc - sure, go for it. — xaosflux Talk 15:12, 12 February 2023 (UTC)
- Support Szalax (talk) 19:50, 12 February 2023 (UTC)
- Support Bencemac (talk) 20:15, 12 February 2023 (UTC)
- Support With the caveat that this probably should be locally saved in-browser, not on WMF servers Husky (talk) 21:00, 12 February 2023 (UTC)
- Support P12062545 (talk) 21:19, 12 February 2023 (UTC)
- Support Funcrunch (talk) 23:57, 12 February 2023 (UTC)
- Support আফতাবুজ্জামান (talk) 01:01, 13 February 2023 (UTC)
- Support I agree with storage but not in local memory.in server Wikipedia WMF, Of course, only for a limited time! Behnam N (talk) 11:13, 13 February 2023 (UTC)
- Support Titore (talk) 14:15, 13 February 2023 (UTC)
- Support Akela (talk) 15:51, 13 February 2023 (UTC)
- Support JAn Dudík (talk) 21:08, 13 February 2023 (UTC)
- Support Ayumu Ozaki (talk) 22:41, 13 February 2023 (UTC)
- Support Zwd626 (talk) 04:21, 14 February 2023 (UTC)
- Support SpacedShark (talk) 06:12, 14 February 2023 (UTC)
- Support Most Wikipedia users have asked me this, and I have no concrete answer yet. Right now, this can only be done using a user script. This would be very convenient for users who use source mode if this feature is available. ··· 🌸 Rachmat04 · ☕ 10:05, 14 February 2023 (UTC)
- Support Grueslayer (talk) 10:54, 14 February 2023 (UTC)
- Oppose. If you want to auto-save, just save it! If you are afraid of browser freezing (like happened a lot with me), then work with local text file in your computer like me, save it as often as you like in your local computer and then copy-paste it into Wikipedia. Taivo (talk) 14:52, 14 February 2023 (UTC)
- Support Thibaultmol (talk) 18:16, 14 February 2023 (UTC)
- Support TimTheDragonRider (talk) 08:30, 15 February 2023 (UTC)
- Support Rzuwig► 11:14, 15 February 2023 (UTC)
- Support cyrfaw (talk) 12:24, 15 February 2023 (UTC)
- Support ~Cybularny Speak? 14:07, 15 February 2023 (UTC)
- Support AshLooming (talk) 00:32, 16 February 2023 (UTC)
- Support Daniel Case (talk) 03:29, 16 February 2023 (UTC)
- Support Aishik Rehman (talk) 07:28, 16 February 2023 (UTC)
- Support DFlhb (talk) 19:24, 16 February 2023 (UTC)
- Oppose GBSCHFRUSONI (talk) 19:40, 16 February 2023 (UTC)
- Support Tbartovic (talk) 20:17, 16 February 2023 (UTC)
- Support Gubeko (talk) 10:11, 17 February 2023 (UTC)
- Support MASUM THE GREAT (talk) 16:32, 17 February 2023 (UTC)
- Support Kurmanbek 💬 17:04, 17 February 2023 (UTC)
- Support Ppt91 (talk) 19:10, 17 February 2023 (UTC)
- Support Absolutely. The pain of having to redo edits on massive tables (similar to the ones at en:United States congressional delegations from New York) due to data loss is immense. It is a huge upset and that upset even deters you from wanting to edit things at the first place. —CX Zoom (A/अ/অ) (let's talk|contribs) 19:32, 17 February 2023 (UTC)
- Support Lightoil (talk) 03:02, 18 February 2023 (UTC)
- Support Kuba Walczak (talk) 08:44, 18 February 2023 (UTC)
- Support Vulcan❯❯❯Sphere! 15:33, 18 February 2023 (UTC)
- Support AllArtAfterAll (talk) 16:00, 18 February 2023 (UTC)
- Support The dude named godzilla (talk) 07:03, 19 February 2023 (UTC)
- Support Wturrell (talk) 09:26, 19 February 2023 (UTC)
- Support Packerfan386 (talk) 09:58, 19 February 2023 (UTC)
- Support Tryvix t 10:00, 19 February 2023 (UTC)
- Support Jklamo (talk) 12:03, 19 February 2023 (UTC)
- Support Unexpectedlydian (talk) 15:01, 19 February 2023 (UTC)
- Support schurdl (talk) 15:50, 19 February 2023 (UTC)
- Support Edu! (talk) 16:07, 19 February 2023 (UTC)
- Support Dominic Z. (talk) 17:25, 19 February 2023 (UTC)
- Support Keelan (talk) 17:55, 19 February 2023 (UTC)
- Support Niskka2 (talk) 22:05, 19 February 2023 (UTC)
- Support Ïvana (talk) 00:54, 20 February 2023 (UTC)
- Support Althair (talk) 02:06, 20 February 2023 (UTC)
- Support — Draceane talkcontrib. 11:15, 20 February 2023 (UTC)
- Support Eli0030 (talk) 14:32, 20 February 2023 (UTC)
- Support Yes, help editors avoid wasted work PamD (talk) 15:21, 20 February 2023 (UTC)
- Support --Pequod76(talk) 16:47, 20 February 2023 (UTC)
- Support Lukas Raich (talk) 19:52, 20 February 2023 (UTC)
- Support Elf (talk) 22:37, 20 February 2023 (UTC)
- Oppose It's also a privacy problem, saving anything from a textbox not intended by the editor. UTF48 (talk) 22:43, 20 February 2023 (UTC)
- Support ANewPreson (talk) 12:34, 21 February 2023 (UTC)
- Support Logret de Carlin (talk) 20:21, 21 February 2023 (UTC)
- Support Serieminou (talk) 22:44, 21 February 2023 (UTC)
- Support CKC1453 (talk) 07:07, 22 February 2023 (UTC)
- Support ~ Seb35 [^_^] 12:08, 22 February 2023 (UTC)
- Support Chatul (talk) 12:22, 22 February 2023 (UTC)
- Support Genial! Trillo.gm (talk) 13:26, 22 February 2023 (UTC)
- Support BlackShadowG (talk) 13:50, 22 February 2023 (UTC)
- Support a more clear local autosave. As explained by many others there shouldn't be a server-side one. Snowmanonahoe (talk) 16:39, 22 February 2023 (UTC)
- Support Morten Haan (talk) 18:19, 22 February 2023 (UTC)
- Support Leiem (talk) 15:58, 23 February 2023 (UTC)
- Support Schoschi (talk) 17:56, 23 February 2023 (UTC)
- Support. —— Eric Liu(Talk) 01:50, 24 February 2023 (UTC)
- Support TheDragonFire300 (talk) 13:51, 24 February 2023 (UTC)
Auto-save wish fulfilment, your input needed
Hello Delta 51, and supporters of Auto-save feature wish, Community Tech is currently investigating this request and we need your input so our engineers can take decisions.
Please read the new project page we have created for the wish and then visit the talk page to give responses to some questions we have for you. –– STei (WMF) (talk) 18:07, 19 June 2023 (UTC)