Page MenuHomePhabricator

[Regression] VisualEditor: Attribute name=":0" inserted into <ref>
Closed, ResolvedPublic

Details

Reference
bz54445

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:09 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz54445.

Worse, I just attempted to add an actual reference, and this bug just replaced the reference I tried to insert with a cross-reference to this new bogus :0 reference!

It was a good thing Visual Editor got disabled by default recently - quality control seems to be lacking!!

More from Red Fiona:
<<If the page already has references, it either doesn't add the reference at all, on this page (https://en.wikipedia.org/w/index.php?title=Vladimir_Gojkovi%C4%87&diff=575208071&oldid=551414203)
, or adds it as the second reference when it's not really the second reference (https://en.wikipedia.org/w/index.php?title=Nataliya_Pyhyda&diff=575209107&oldid=568886402) .>>

I believe that this is the same as bug 54341 which was fixed last week and is live.

  • This bug has been marked as a duplicate of bug 54341 ***

This problem was also reported happening on Polish Wikipedia (PL.WP) by User:Kthaara (using VE on Win 7, Mozilla Firefox (latest version)).

https://pl.wikipedia.org/wiki/Wikipedia:VisualEditor/Opinie#linki_i_przypisy

This bug appears when I edited Eve Online page:
https://pl.wikipedia.org/wiki/Eve_Online

Additional comments from Polish Wikipedia Kthaara:

"Bug seems did not recognize references or not recognize their numbers. Ex.: I wrote some text in section about add-ons and need to make a reference to page from Eve-community. I make one and VE, sure, did it, but aotomaticaly redirects to completely different reference, like: it make ref no. 50 and redirect it to no. 3 - which is different thing. After several tries I manage to get right reference but it change another. In this moment I gave up."

And here is a diff: https://pl.wikipedia.org/w/index.php?title=Eve_Online&diff=37587971&oldid=37587957

(In reply to comment #7)

Additional comments from Polish Wikipedia Kthaara:

"Bug seems did not recognize references or not recognize their numbers. Ex.:
I
wrote some text in section about add-ons and need to make a reference to page
from Eve-community. I make one and VE, sure, did it, but aotomaticaly
redirects
to completely different reference, like: it make ref no. 50 and redirect it
to
no. 3 - which is different thing. After several tries I manage to get right
reference but it change another. In this moment I gave up."

And here is a diff:
https://pl.wikipedia.org/w/index.
php?title=Eve_Online&diff=37587971&oldid=37587957

This looks like a similar bug, but it's not the same bug (the original report was about name corruption, not content corruption). Could you file a new bug for this?

Additionally, an as detailed as possible explanation of what the user did to produce that diff (step-by-step instructions, if they remember) would be very helpful. It's theoretically possible for VE to produce that diff legitimately if the user did certain things, but I doubt that's what happened.

Hey Roan :)
I might be wrong, but I think it's still about name corruption (I think the user is complaining that he added or reused a reference, but after he saved the number in brackets was not pointing to the one he chose).
Anyway, I'll contact the user to get more details, because it might also be not a bug at all. As I wrote elsewhere, I think it can be confusing that the name and the number of a reference do not match, although everything will still work as intended.
See
https://en.wikipedia.org/w/index.php?title=User%3AElitre_%28WMF%29%2FSandbox&diff=575128343&oldid=575128003
(the reference #2 gets a ref name:3).