Community Wishlist Survey 2021/Editing/Allowing VisualEditor to edit by section
Appearance
Allowing VisualEditor to edit by section
- Problem: The VisualEditor always loads the entire page regardless of which "edit" link is clicked on the page. An editor who is trying to edit one section may encounter edit conflicts from another section being edited.
- Who would benefit: Editors who are only trying to edit one section.
- Proposed solution: Make an option to toggle between section editing and full page editing.
- More comments: The beta feature "New wikitext mode" kind of does this already by only taking the section where "edit source" is clicked.
- Phabricator tickets: phab:T221908
- Proposer: Tenryuu (talk) 04:35, 24 November 2020 (UTC)
Discussion
- This is a very hard problem to solve, because while sections exist as a 'unit' in wikitext, wikitext when rendered can affect multiple sections. As such, a rendered section can't really exist without the other rendered sections. Work to improve this situation happens continuously, but they are major problems in the core design (or rather lack of design) of wikitext, for which no quick fix exists. —TheDJ (talk • contribs) 09:36, 24 November 2020 (UTC)
- We actually already solved this problem last year for the mobile visual editor (and as TheDJ suggest above, it was not easy). The feature works fine on desktop too but we have it disabled because we felt it might be disruptive to editors who have come to expect the current behaviour. Enabling this would just require a one line config change: phab:T221908. We do not yet have the ability to dynamically switch between section and full page editing, but that is technically possibly too. ESanders (WMF) (talk) 16:04, 24 November 2020 (UTC)
- Thanks for the heads-up. I'll subscribe to the ticket to keep myself apprised of new developments. Tenryuu (talk) 23:21, 24 November 2020 (UTC)
- How about having it enabled for new accounts? It would greatly help with visual editing large pages on older hardware.--Strainu (talk) 10:14, 12 December 2020 (UTC)
- Thanks for the heads-up. I'll subscribe to the ticket to keep myself apprised of new developments. Tenryuu (talk) 23:21, 24 November 2020 (UTC)
- There re many circumstances where this wiould be an enormous help. If it is not ready for universal adoption, could it be selectable as a gadget? DGG (talk) 10:19, 29 November 2020 (UTC)
- It could just be a user preference but it would be better if it were just enabled for everyone, as every user preference we add incurs some technical debt by increasing the amount of testing we need to do in perpetuity. ESanders (WMF) (talk) 13:23, 2 December 2020 (UTC)
- Is this accurate? According to en:WP:VisualEditor, Opening an entire page for editing does not increase edit conflicts, which are (roughly) based on editing the same paragraph. From reading this, I concluded that the visual editor does its own edit conflict checking, and it's based on paragraph, not on entire page. The reason I researched this the other day is I saw in the history that somebody edited at the same time that I did, but I didn't have an edit conflict, so I wondered why. Novem Linguae (talk) 16:08, 21 December 2020 (UTC)
- From Help:Edit conflict#Prevention:
The system uses CVS-style edit-conflict merging, based on the diff3 utility. This feature triggers an edit conflict only if users attempt to edit the same few lines.
- ..so yes, section editing does not reduce edit conflicts. Also VE has no special handling for edit conflicts, it is all done at the wikitext level. ESanders (WMF) (talk) 12:53, 23 December 2020 (UTC)
- Ping Tenryuu. The answer above may be of interest to you. It suggests this proposal is not needed, since the visual editor avoids most edit conflicts. –Novem Linguae (talk) 09:28, 5 January 2021 (UTC)
- That's interesting to note. While this would make my original proposal moot, would it still be beneficial to do section editing so that loading times are shorter? I find that loading takes exorbitantly long with articles chock-full of images and transcluded templates. Tenryuu (talk) 11:00, 5 January 2021 (UTC)
- @Tenryuu that is correct. As you can see in this diagram there is a significant load time reduction when using section editing, especially on long articles. (Cc @Novem Linguae) ESanders (WMF) (talk) 13:16, 5 January 2021 (UTC)
- @ESanders (WMF): One final question, if I may. Does the source code editor in full article mode prevent edit conflicts the same way the visual editor does? That is, using CVS-style edit-conflict merging, based on the diff3 utility. This feature triggers an edit conflict only if users attempt to edit the same few lines.? The en:Help:Edit conflict article has some clarity and contradiction issues, so I plan to copyedit it, I want to make sure to use the correct information. Thank you. –Novem Linguae (talk) 17:31, 5 January 2021 (UTC)
- @Novem Linguae Yes: all visual edits are converted to wikitext before we attempt to save to the database, so as far as edit conflicts are concerned there is no difference between the modes. Regardless of the editor used, your edit conflict will be detected based on the wikitext using the diff3 utility. ESanders (WMF) (talk) 18:31, 5 January 2021 (UTC)
- @ESanders (WMF): One final question, if I may. Does the source code editor in full article mode prevent edit conflicts the same way the visual editor does? That is, using CVS-style edit-conflict merging, based on the diff3 utility. This feature triggers an edit conflict only if users attempt to edit the same few lines.? The en:Help:Edit conflict article has some clarity and contradiction issues, so I plan to copyedit it, I want to make sure to use the correct information. Thank you. –Novem Linguae (talk) 17:31, 5 January 2021 (UTC)
- @Tenryuu that is correct. As you can see in this diagram there is a significant load time reduction when using section editing, especially on long articles. (Cc @Novem Linguae) ESanders (WMF) (talk) 13:16, 5 January 2021 (UTC)
- That's interesting to note. While this would make my original proposal moot, would it still be beneficial to do section editing so that loading times are shorter? I find that loading takes exorbitantly long with articles chock-full of images and transcluded templates. Tenryuu (talk) 11:00, 5 January 2021 (UTC)
- Ping Tenryuu. The answer above may be of interest to you. It suggests this proposal is not needed, since the visual editor avoids most edit conflicts. –Novem Linguae (talk) 09:28, 5 January 2021 (UTC)
Voting
- Support MarioSuperstar77 (talk) 18:41, 8 December 2020 (UTC)
- Support আফতাবুজ্জামান (talk) 19:07, 8 December 2020 (UTC)
- Support Dr747 (talk) 19:18, 8 December 2020 (UTC)
- Support --NGC 54 (talk / contribs) 19:43, 8 December 2020 (UTC)
- Support CrystallineLeMonde (talk) 20:10, 8 December 2020 (UTC)
- Support 5225C (talk • contributions) 00:05, 9 December 2020 (UTC)
- Support Hanif Al Husaini (talk) 00:53, 9 December 2020 (UTC)
- Support PianistHere (talk) 01:30, 9 December 2020 (UTC)
- Support * Pppery * it has begun 01:57, 9 December 2020 (UTC)
- Support Pharos (talk) 02:31, 9 December 2020 (UTC)
- Support —— Eric Liu(留言.百科用戶頁) 04:32, 9 December 2020 (UTC)
- Support Cherryblossom000 (talk) 07:16, 9 December 2020 (UTC)
- Support Philbutler (talk) 07:21, 9 December 2020 (UTC)
- Support Tmv (talk) 07:32, 9 December 2020 (UTC)
- Support Munfarid1 (talk) 09:44, 9 December 2020 (UTC)
- Support Thomas Kinz (talk) 10:04, 9 December 2020 (UTC)
- Support SunDawn (talk) 10:35, 9 December 2020 (UTC)
- Support + AntEgoSum (talk) 10:44, 9 December 2020 (UTC)
- Support Frhdkazan (talk) 11:57, 9 December 2020 (UTC)
- Support Mylenos (talk) 12:15, 9 December 2020 (UTC)
- Support Mannivu · ✉ 15:15, 9 December 2020 (UTC)
- Support Netjeff (talk) 20:22, 9 December 2020 (UTC)
- Support Browk2512 (talk) 21:18, 9 December 2020 (UTC)
- Support dwf² (talk) 22:54, 9 December 2020 (UTC)
- Support Eddie891 (talk) 23:36, 9 December 2020 (UTC)
- Support CaptainEek Edits Ho Cap'n!⚓ 03:52, 10 December 2020 (UTC)
- Support Drernie (talk) 04:22, 10 December 2020 (UTC)
- Support --Timeshifter (talk) 08:23, 10 December 2020 (UTC)
- Support Libcub (talk) 19:17, 10 December 2020 (UTC)
- Support NaBUru38 (talk) 20:30, 10 December 2020 (UTC)
- Support Srđan (talk) 21:56, 10 December 2020 (UTC)
- Support Gnangarra (talk) 01:16, 11 December 2020 (UTC)
- Support Jc86035 (talk) 12:06, 11 December 2020 (UTC)
- Support Paucabot (talk) 12:16, 11 December 2020 (UTC)
- Support BoldLuis (talk) 13:53, 11 December 2020 (UTC)
- Support StringRay (talk) 16:23, 11 December 2020 (UTC)
- Support Would be great. --Mathieugp (talk) 18:46, 11 December 2020 (UTC)
- Support Remagoxer (talk) 21:18, 11 December 2020 (UTC)
- Support Vince789 (talk) 22:02, 11 December 2020 (UTC)
- Support Fixer88 (talk) 23:09, 11 December 2020 (UTC)
- Support JesusMCarrasco (talk) 23:32, 11 December 2020 (UTC)
- Support This would enormously increase the ability to use VE when modifying long articles. DGG (talk) 01:12, 12 December 2020 (UTC)
- Support --Alaa :)..! 01:16, 12 December 2020 (UTC)
- Support Chlod (say hi!) 03:29, 12 December 2020 (UTC)
- Support Strainu (talk) 10:13, 12 December 2020 (UTC)
- Support ~Cybularny Speak? 11:23, 12 December 2020 (UTC)
- Support Tom Ja (talk) 12:41, 12 December 2020 (UTC)
- Support Danielg123 (talk) 15:03, 12 December 2020 (UTC)
- Support Gnom (talk) 15:50, 12 December 2020 (UTC)
- Support Melroross (talk) 16:36, 12 December 2020 (UTC)
- Support Fuchs B (talk) 18:11, 12 December 2020 (UTC)
- Support LM150 (talk) 22:15, 12 December 2020 (UTC)
- Support Lalviarez (talk) 22:41, 12 December 2020 (UTC)
- Support Vincent Simar (talk) 22:49, 12 December 2020 (UTC)
- Support // Lollipoplollipoplollipop :: talk 10:52, 13 December 2020 (UTC)
- Support 4nn1l2 (talk) 17:18, 13 December 2020 (UTC)
- Support AviationFreak (talk) 03:24, 14 December 2020 (UTC)
- Support Fernmother (talk) 03:50, 14 December 2020 (UTC)
- Support Tgr (talk) 08:39, 14 December 2020 (UTC)
- Support Sadads (talk) 11:47, 14 December 2020 (UTC)
- Support Michel Bakni (talk) 14:00, 14 December 2020 (UTC)
- Support Poupou l'quourouce (talk) 14:10, 14 December 2020 (UTC)
- Support RanuKanu (talk) 09:41, 15 December 2020 (UTC)
- Support Lionel Scheepmans ✉ Contact French native speaker, sorry for my dysorthography 12:31, 15 December 2020 (UTC)
- Support Thanks, EDG 543 (message me) 15:42, 15 December 2020 (UTC)
- Support SeGiba (talk) 18:20, 15 December 2020 (UTC)
- Support Sergiy.Kozyr (talk) 08:22, 16 December 2020 (UTC)
- Support Xhs 唯心而为 12:09, 16 December 2020 (UTC)
- Support Keepcalmandchill (talk) 01:11, 17 December 2020 (UTC)
- Support Utopes (talk) 02:19, 17 December 2020 (UTC)
- Support TigerScientist Chat 03:51, 17 December 2020 (UTC)
- Support This would make the visual editor so much more usable Elliot321 (talk) 04:13, 17 December 2020 (UTC)
- Support Rachel Helps (BYU) (talk) 17:02, 17 December 2020 (UTC)
- Support Temp3600 (talk) 18:01, 17 December 2020 (UTC)
- Support VKG1985 (talk) 17:50, 18 December 2020 (UTC)
- Support This would reduce edit conflicts. A perfect preview rendering is no more needed for VE than for ME. HLHJ (talk) 21:50, 19 December 2020 (UTC)
- Support Plus million! Especially for large pages. Nux (talk) 23:40, 19 December 2020 (UTC)
- Support A very useful function that would make the job easier.--Kun Kipcsak (talk) 15:13, 21 December 2020 (UTC)
- Support I see the technical work has already been done, which is great. Would love to see this enabled. ~SuperHamster Talk Contribs 17:49, 21 December 2020 (UTC)