Last modified: 2013-06-13 01:23:55 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 T45103, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43103 - VisualEditor: Slug oddness - Prepending text to article starting with {{Infobox ..}} removes the entire article
VisualEditor: Slug oddness - Prepending text to article starting with {{Infob...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-06-06
Assigned To: Inez Korczyński
:
: 46506 (view as bug list)
Depends on: 44083
Blocks: 48426
  Show dependency treegraph
 
Reported: 2012-12-14 00:04 UTC by Krinkle
Modified: 2013-06-13 01:23 UTC (History)
5 users (show)

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


Attachments
Screenshot showing the diff and the editor (198.36 KB, image/png)
2012-12-14 00:04 UTC, Krinkle
Details

Description Krinkle 2012-12-14 00:04:30 UTC
Created attachment 11509 [details]
Screenshot showing the diff and the editor

Steps to reproduce problem:
* Open VisualEditor on https://en.wikipedia.org/wiki/Buri_Ram_Airport
* The cursor will be on top of the article in a paragraph-placeholder with bold styling (because the first word of the article is bolded)
* Type "a"

Expected result:
The character is inserted. Showing the diff now shows the addition of "'''a'''" (either above or below the {{infobox}}, doesn't really matter). Preferably below so that it is next to the paragraph it was added before.

Actual result:
The character is inserted. Visually nothing else changed (the infobox and the rest of the article are stil there). However, clicking "Review and save" now will show a diff where the infobox and the entire article have been removed and "'''a'''" was added in its place.
Comment 1 James Forrester 2013-01-07 22:48:04 UTC
This is fundamentally an "editing what appears to be a blank space but is actually a slug means this behave in a way I did not anticipate" - assigning to CE, but we really need to talk about this and what we should do longer-term.
Comment 2 Nicolas Raoul 2013-03-24 12:17:43 UTC
*** Bug 46506 has been marked as a duplicate of this bug. ***
Comment 3 Inez Korczyński 2013-03-24 19:19:05 UTC
I think I know what's the reason of this problem. I will work on it next week.
Comment 4 Inez Korczyński 2013-06-12 19:05:48 UTC
This seems to be fixed already (try to reproduce on English Wikipedia).

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


Navigation
Links