Template:Warning VisualEditor bug/doc: Difference between revisions
No edit summary |
|||
Line 11: | Line 11: | ||
==Further reading== |
==Further reading== |
||
:*[https://en.wikipedia.org/w/index.php?title=Special:AbuseLog&wpSearchFilter=861 SearchFilter861], shows live edits containing "cite%20note" |
:*[https://en.wikipedia.org/w/index.php?title=Special:AbuseLog&wpSearchFilter=861 SearchFilter861], shows recent live edits containing "cite%20note" |
||
:*[https://en.wikipedia.org/w/index.php?sort=relevance&search=insource%3A%22cite%2520note%22&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1 "cite%20note"], show pages containing the bug |
:*[https://en.wikipedia.org/w/index.php?sort=relevance&search=insource%3A%22cite%2520note%22&title=Special%3ASearch&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1 "cite%20note"], show pages containing the bug |
||
:*[https://phabricator.wikimedia.org/T150418 Phab T150418], ticket for VE bug |
:*[https://phabricator.wikimedia.org/T150418 Phab T150418], ticket for VE bug |
Revision as of 13:17, 7 September 2019
This is a documentation subpage for Template:Warning VisualEditor bug. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
A bug in VisualEditor caused citations to be malformed (May-Aug 2019). If text was copy-pasted from VisualEditor outside VE's edit-mode, citations would transform 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 your 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 template warning allows editors the opportunity to accurately repair or remove this error before it gets copied into mainspace.
Further reading
- SearchFilter861, shows recent live edits containing "cite%20note"
- "cite%20note", show pages containing the bug
- Phab T150418, ticket for VE bug
- RfC to block edits (started September 3 2019)
- User:GreenC bot/Job 18, bot to repair bug in mainspace