Page MenuHomePhabricator

infobox is deleted
Closed, ResolvedPublic

Description

Author: brassratgirl

Description:
Added a sentence to a paragraph, infobox was deleted:
https://en.wikipedia.org/w/index.php?title=Annual_Review_of_Astronomy_and_Astrophysics&diff=563447550&oldid=550036998

Firefox, Windows XP.


Version: unspecified
Severity: critical
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=49839

Details

Reference
bz51043

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:04 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz51043.

Thanks for taking the time to report this!

(In reply to comment #0)

Firefox, Windows XP.

Could you provide the version of Firefox please?

brassratgirl wrote:

Firefox 22.0 (sorry, I was using a different machine when I reported this!)

brassratgirl wrote:

I figured out what happened. I removed an extra space at the top of the article (by placing the cursor at the beginning of the first paragraph and hitting backspace) and it deleted the infobox instead. See screenshot. Maybe not a bug per se but definitely unexpected behavior.

brassratgirl wrote:

screenshot - removed extra space where indicated, infobox got deleted instead

Attached:

astro_1.JPG (964×1 px, 204 KB)

"In my edit, I merely wikilinked to a person. I did not use backspace, but once again, the infobox was accidentally deleted." http://en.wikipedia.org/w/index.php?title=A_Certain_Magical_Index&curid=11066006&diff=566993364&oldid=566949595

Thanks.

turingt wrote:

I've run into the same error here:

https://en.wikipedia.org/w/index.php?title=Neon_Genesis_Evangelion_(manga)&diff=567397346&oldid=562255645

Steps to reproduce:

  • Click Edit(beta) on the History section. (The cursor doesn't go anywhere near the infobox, so it's not motivated by pressing the wrong key.
  • Select the text "Neon Genesis Evangelion franchise" in the first sentence.
  • Press Ctrl+K to start a wikilink
  • Press enter twice
  • Save page.

I think the problem may be caused by the selected text having some Italics words. I've tried it again in my sandbox removing the italics from the wikitext, and it no longer removes the infobox; only when the italic double quotes are included.

As an alternative to asking for confirmation before deleting a template, this suggestion was made:

Another way would be to do like Word do for images: the first backspace selects the image, a second one deletes the image. The same kind of behavior could be applied to templates: first select the template, then delete it on a second key stroke. --NicoV (Talk on frwiki) 06:19, 2 August 2013 (UTC)

Infoboxes are getting deleted for reasons other than deleting being pressed, for example at [[Crayon Shin-chan]]

To reproduce:

  1. Load the article in VE
  2. Add any text anywhere to the article
  3. Review changes

Note that the infobox is actually produced by four templates, all of which are removed:
[[Template:Infobox animanga/Header]]
[[Template:Infobox animanga/Print]]
[[Template:Infobox animanga/Video]]
[[Template:Infobox animanga/Footer]]

This makes me wonder whether this is causing Parsoid to see four incomplete templates resulting in Bug 49839?

I've marked this as critical because this causes damage to the live wiki

This has been fixed and deployed last week.