Last modified: 2013-08-23 21:51:47 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 T53043, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51043 - infobox is deleted
infobox is deleted
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized critical
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-09 15:00 UTC by phoebe
Modified: 2013-08-23 21:51 UTC (History)
8 users (show)

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


Attachments
screenshot - removed extra space where indicated, infobox got deleted instead (204.59 KB, image/jpeg)
2013-07-09 17:24 UTC, phoebe
Details

Description phoebe 2013-07-09 15:00:43 UTC
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.
Comment 1 Andre Klapper 2013-07-09 16:38:22 UTC
Thanks for taking the time to report this!

(In reply to comment #0)
> Firefox, Windows XP.

Could you provide the version of Firefox please?
Comment 2 phoebe 2013-07-09 17:16:51 UTC
Firefox 22.0 (sorry, I was using a different machine when I reported this!)
Comment 3 phoebe 2013-07-09 17:23:31 UTC
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.
Comment 4 phoebe 2013-07-09 17:24:14 UTC
Created attachment 12805 [details]
screenshot - removed extra space where indicated, infobox got deleted instead
Comment 5 Elitre 2013-08-03 15:23:26 UTC
"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.
Comment 6 turingt 2013-08-06 13:26:23 UTC
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.
Comment 7 WhatamIdoing 2013-08-07 23:28:33 UTC
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)
Comment 8 Chris McKenna 2013-08-10 23:07:32 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
Comment 9 ssastry 2013-08-11 02:09:34 UTC
Related: bug 52488
Comment 10 ssastry 2013-08-23 21:38:23 UTC
This has been fixed and deployed last week.

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


Navigation
Links