https://bugzilla.wikimedia.org/show_bug.cgi?id=52446
Web browser: ---
Bug ID: 52446
Summary: Copying and pasting the first reference on a page,
then deleting the pasted reference results in ref "0"
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
I was able to produce a reference labelled "0" in the VisualEditor using the
following steps:
1. Create a simple page with some text and a reference. (I've made an example
at [[User:Mr. Stradivarius/ref0]].)
2. Copy and paste the reference to somewhere else in the page.
3. Delete the reference from the text that has just been copied and pasted.
4. The first reference is automatically renumbered to "0".
The numbering of the first is fixed (back to "1") if you delete the line of
text that you were on, but if you add new lines of text the first reference
remains laballed "0" even if the pasted line is subsequently removed. The
numbering still starts at 0 if you add another reference, so you get ref "0",
ref "1", etc.
This is on Firefox 22.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l