Last modified: 2014-02-27 18:35:06 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 T52687, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50687 - VisualEditor: Provide a way for the user to one-way switch from VisualEditor into wikitext source editor mode without saving
VisualEditor: Provide a way for the user to one-way switch from VisualEditor ...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-10-31
Assigned To: Ed Sanders
:
: 52950 (view as bug list)
Depends on: 54869
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-03 19:15 UTC by Maggie Dennis
Modified: 2014-02-27 18:35 UTC (History)
13 users (show)

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


Attachments

Description Maggie Dennis 2013-07-03 19:15:14 UTC
Copying from English Wikipedia:

Okay, this one is probably quite tricky: When editing the source code, if an edit conflict arises, you can simply hit the back button, copy the code, and paste it into the updated version. However, with the Visual Editor, this is no longer possible. The content goes away, so you have to re-add it all, which is a huge pain if it involves references and other templates.--¿3family6 contribs 18:25, 3 July 2013 (UTC)
Comment 1 Maggie Dennis 2013-07-04 13:20:38 UTC
The ability to salvage incomplete edits could have other usefulness.

Copying from English Wikipedia:

I can attest to that, I have done the same thing and so due to inactivity the 'invalid token' message is appearing. No idea what to do, currently my tab is still open containing my edits which cannot be saved, I don't want to start over (quite a bit of work here), any suggestions? Copy-pasting to a text editor is not an option since I did mainly lot of linking and minor fixes. -Ugog Nizdast (talk) 10:04, 3 July 2013 (UTC)
Comment 2 Maggie Dennis 2013-07-08 18:35:18 UTC
Also this would be useful to allow people to save unfinished changes for later completion.
Comment 3 John Mark Vandenberg 2013-07-25 22:28:18 UTC
It isnt that tricky.  Here is a prototype.

https://en.wikipedia.org/wiki/User:John_Vandenberg/switch_editor

The UI could be improved.
Comment 4 Gerrit Notification Bot 2013-09-06 00:40:58 UTC
Change 83049 had a related patch set uploaded by Esanders:
Button tool to switch to edit source with changes

https://gerrit.wikimedia.org/r/83049
Comment 5 John Mark Vandenberg 2013-10-02 02:23:29 UTC
btw I found this was requested back in April 2013

https://en.wikipedia.org/wiki/Wikipedia:VisualEditor/Feedback/Archive_2013_04#London_Underground_article

my hack has been broken by some change in the VE product, and the deployment of this fix has now been delayed one month. Siebrand gave the patch a +1 a week ago. What is next for this to be committed and go live?
Comment 6 Ed Sanders 2013-10-02 10:04:22 UTC
The patch was -2'd pending a rewrite of the toolbar. Although the button works, we have no sensible place to put it until those changes are finished. At the time that was supposed to be a few days, so apologies for the delay, but that work is nearly complete now.
Comment 7 Gerrit Notification Bot 2013-10-31 17:48:20 UTC
Change 92913 had a related patch set uploaded by Catrope:
Button tool to switch to edit source with changes

https://gerrit.wikimedia.org/r/92913
Comment 8 Gerrit Notification Bot 2013-10-31 17:49:37 UTC
Change 92913 merged by Catrope:
Button tool to switch to edit source with changes

https://gerrit.wikimedia.org/r/92913
Comment 9 Gerrit Notification Bot 2013-10-31 17:49:47 UTC
Change 83049 merged by jenkins-bot:
Button tool to switch to edit source with changes

https://gerrit.wikimedia.org/r/83049
Comment 10 Rummana Yasmeen 2013-11-01 20:32:45 UTC
verified in betalabs env
Comment 11 John Mark Vandenberg 2013-12-18 02:13:13 UTC
Just noting that this was broken in Firefox for a few weeks after launch due to bug 56767, which has now been fixed, and I have disabled my switch editor.
Comment 12 James Forrester 2014-02-27 18:35:06 UTC
*** Bug 52950 has been marked as a duplicate of this bug. ***

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


Navigation
Links