Last modified: 2014-03-13 02:21:19 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 T58923, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56923 - Some navbox and other templates disappear when being moved, but only if <ref> tags are present in the article and the templates are below the last visible text
Some navbox and other templates disappear when being moved, but only if <ref>...
Status: NEW
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-12 01:29 UTC by WhatamIdoing
Modified: 2014-03-13 02:21 UTC (History)
5 users (show)

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


Attachments

Description WhatamIdoing 2013-11-12 01:29:45 UTC
Intention:
Change the location of a navigation template in an article

Steps to Reproduce:
1. Click once on a "navbox" type template at the bottom of a page to select it. 

2. Click and drag the item to any place in the article.



Actual Results:  
In affected articles, the navbox disappears upon dropping.  Affected articles include:

https://en.wikipedia.org/wiki/Yersinia_pseudotuberculosis

https://en.wikipedia.org/wiki/Albert_I_of_Belgium

https://en.wikipedia.org/wiki/Vancouver_Canucks

Unaffected articles include:  

https://en.wikipedia.org/wiki/Dunn_Peak_massif

https://en.wikipedia.org/wiki/Waging_Heavy_Peace:_A_Hippie_Dream

https://en.wikipedia.org/wiki/British_Columbia

If all the <ref> tags are removed from these articles, then dragging and dropping works as expected.  Removing only some refs (even leaving in just one plain text ref) is not sufficient, except that transcluded notes/refs (in the Canucks article) are okay.

Expected Results:  
That it would drag and drop normally in all articles.

Reproducible: Sometimes

This has been confirmed by at least three users, so it's probably platform independent.

Changing from {{reflist}} to <References /> has no effect.  Removing all templates has no effect.  Other non-floated templates (i.e., {{InterPro content}}) do not seem to be affected.  

If you:

1. Remove all the refs, 
2. Move the navbox template, and
3. Then add a new ref, 

(in that exact order), you can still move the navbox without it disappearing, despite the presence of your new ref.
Comment 1 WhatamIdoing 2013-11-12 01:32:04 UTC
This is reproducible every time in affected articles, and never in unaffected ones. I have no idea why some articles are affected and others are not.
Comment 2 WhatamIdoing 2013-11-18 19:19:28 UTC
This problem also exists with some other types of non-floating templates:

* The authority control template, e.g., at http://en.wikipedia.org/wiki/David_B._Feinberg

* Stub templates, e.g., at http://en.wikipedia.org/wiki/Tessie_Santiago

* Succession boxes, e.g., at http://en.wikipedia.org/wiki/Gennady_Golovkin.
Comment 3 WhatamIdoing 2013-11-20 19:41:25 UTC
The problem may be due to the location of the templates rather than their identity.  http://en.wikipedia.org/wiki/Gennady_Golovkin contains two succession boxes, but only the one at the end of the page disappears when it is moved.

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


Navigation
Links