• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Warning VisualEditor bug

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Warning
Warning
This page contains syntax errors ("cite%20note") caused by a VisualEditor bug. Do not copy/move content from this page until the errors have been repaired. See {{Warning VisualEditor bug}} for more information.
Template documentation[view] [edit] [history] [purge]

Usage

A bug in VisualEditor has caused errors in citations. If text was copy-pasted from VisualEditor outside VE's edit-mode, citations were transformed into garbled text, for example <sup>[[Asylum in France#cite%20note-7|[7]—]]</sup> which is an invalid Wikipedia citation.

The garbled text can take many forms but the common string is cite%20note - please search the page for this string and repair the citation before it is copied or moved into mainspace.

The error can be reverse engineered in some cases. In the above example it maps to citation #7 in the article Asylum in France. Because citation numbers change each time a page is edited, the #7 would map from the same time the copy-paste was done. Thus, find the revision time in the source article when the bug was introduced, then find the revision time in the secondary article that equates to this time, and this is the revision where the citation number can be found. Replace the entire <sup>[[Asylum in France#cite%20note-7|[7]—]]</sup> with the valid reference.

A bot was written to try and repair these bugs, but it only ran in mainspace and had technical limitations due to the complexity of the bug. For User: and Draft: space this notification allows editors the opportunity to repair or remove the bug before it is copied into mainspace.

Further reading

  • SearchFilter861, recent live edits containing "cite%20note"
  • "cite%20note" in mainspace pages
  • "cite%20note" in Draft: pages
  • "cite%20note" in User: pages
  • Phab T150418, ticket for VE bug. The bug was activated May-Sep 2019.
  • RfC to block edits (started September 3 2019)
  • User:GreenC bot/Job 18, bot to repair bug in mainspace
The above documentation is transcluded from Template:Warning VisualEditor bug/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Warning_VisualEditor_bug&oldid=39040"
Category:
  • User talk header templates
Last edited on 7 September 2019, at 12:59

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 7 September 2019, at 12:59.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop