Page MenuHomePhabricator

Losing all progress when switching from Edit to Edit Source
Closed, DeclinedPublic

Description

So the basis of this bug is my colleague, a CAD designer documents his design process on our internal mediawiki. He spends a lot of time and effort creating these pages using VisualEditor (0.1.0). At a time he adds a lot of text from the process, but when required to add an image he must swap to edit source because our VisualEditor version does not allow uploading of local files. When he swaps from editing in VisualEditor to edit source he gets prompted with a window asking him if he meant to do this and will give him three choices on the matter:

a) didnt mean to(cancel)
b) yes he did mean to but discard all changes
c) yes he did and please save changes

Obviously having spend a substantial amount of time editing this document and needing to add the image files in to complete he selects option C. This leads to the whole wiki freezing and crash deleting all progress he made before he could even get into the edit source tab.

This is what makes me believe it is a bug within your extension.

Cheers for reading, please get back to me as soon as possible.

Event Timeline

Esanders renamed this task from Loosing all progress when switching from Edit to Edit Source to Losing all progress when switching from Edit to Edit Source.Nov 11 2016, 1:08 PM

Are you using the latest version of MediaWiki and VisualEditor? Are you running Parsoid with RESTBase?

There are no known major issues with switching between editors, so it is most likely an issue with your installation or an old version.

Yes it is running a previous version of mediaWiki, one version behind maybe. However due to many extensions not being compatible with the newest mediawiki and not wanting to update the whole server and lose half our wiki, we have stayed away from it. Is there a hotfix or anything I can add to my current version or not?

There are no known issues in this area - and they code changes a lot between major MW releases, so it will be very hard to work out what is causing your problems.

If you can reproduce the error reliably, perhaps you can check the console for javascript errors.

Jdforrester-WMF changed the task status from Open to Stalled.Nov 15 2016, 8:20 PM

Unfortunately closing this Phabricator task as no further information has been provided.

@Joescull1: After you have provided the information asked for and if this still happens in a recent supported version, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!