Last modified: 2014-02-27 22:46:09 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 T54579, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52579 - VisualEditor: Cannot edit notes that use {{ref}} and {{note}} system.
VisualEditor: Cannot edit notes that use {{ref}} and {{note}} system.
Status: RESOLVED WONTFIX
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Rob Moen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-06 14:42 UTC by Chris McKenna
Modified: 2014-02-27 22:46 UTC (History)
4 users (show)

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


Attachments
<head><meta content="width=device-width; height=device-height;" name="viewport"><link href="resource://gre/res/ImageDocument.css" rel="stylesheet"><link href="resource://gre/res/TopLevelImageDocument. (217.48 KB, image/png)
2014-02-22 03:57 UTC, cklim
Details

Description Chris McKenna 2013-08-06 14:42:50 UTC
Where articles use the {{ref}} and  {{note}} pair of templates to generate footnotes, e.g. [[List of highest points of Canadian provinces and territories]], it is impossible to edit the contents of the notes in VisualEditor.

The {{ref}} template is editable in the transclusion editor, and works as expected.

The {{note}}-generated notes are apparently one block. No transclusion icon or indication of uneditablility (green stripes) appears on mouseover or when the block is clicked. 

If a link in the notes is clicked it functions as a link would in read mode- ie. the link is followed and you leave the page. VE gives no warning about unsaved edits (although Firefox does).

If the backlink to the location of the {{ref}} template is clicked it functions as above - i.e. it loads the page in read mode at the position of the note, exactly as if you had followed a link to that anchor from any other page on the internet.

It is possible to select the block when selecting content before and after the block, although no indication is given that it has been selected. Once selected it is possible to apply bold/italic formatting to the block and other selected text using the B/I buttons, but it is not then possible to remove it using these buttons while the note block is selected. It is possible to remove bold/italic using the clear format button. The clear format button does not remove any links in the notes block, but does remove links from any other text selected at the same time.
Comment 1 cklim 2014-02-22 03:57:26 UTC
Created attachment 14662 [details]
<head><meta content="width=device-width; height=device-height;" name="viewport"><link href="resource://gre/res/ImageDocument.css" rel="stylesheet"><link href="resource://gre/res/TopLevelImageDocument.

<head><meta content="width=device-width; height=device-height;" name="viewport"><link href="resource://gre/res/ImageDocument.css" rel="stylesheet"><link href="resource://gre/res/TopLevelImageDocument.css" rel="stylesheet"><link href="chrome://global/skin/media/TopLevelImageDocument.css" rel="stylesheet"><title>attachment.cgi (PNG Image, 1247&nbsp;×&nbsp;669 pixels)</title></head><body><img class="decoded overflowing" alt="http://bug-attachment.wikimedia.org/attachment.cgi?id=14163" src="http://bug-attachment.wikimedia.org/attachment.cgi?id=14163"></body>
Comment 2 cklim 2014-02-22 03:58:11 UTC
<head><meta content="width=device-width; height=device-height;" name="viewport"><link href="resource://gre/res/ImageDocument.css" rel="stylesheet"><link href="resource://gre/res/TopLevelImageDocument.css" rel="stylesheet"><link href="chrome://global/skin/media/TopLevelImageDocument.css" rel="stylesheet"><title>attachment.cgi (PNG Image, 1247&nbsp;×&nbsp;669 pixels)</title></head><body><img class="decoded overflowing" alt="http://bug-attachment.wikimedia.org/attachment.cgi?id=14163" src="http://bug-attachment.wikimedia.org/attachment.cgi?id=14163"></body>
Comment 3 Andre Klapper 2014-02-22 11:21:40 UTC
cklim: Not sure what your random HTML and image posted here has to do "VisualEditor: Cannot edit notes that use {{ref}} and {{note}} system".
Please file a separate ticket as this seems unrelated to this bug report.
Comment 4 James Forrester 2014-02-27 22:46:09 UTC
Cite.php is designed a certain (bad) way. It has issues, and we will replace it at some point, but the way to fix its issues is not to make horrible hacks in wikitext using loopholes over-looked when the code was written to try to re-design in.

This is one of those cases, and is not sanely supportable in VisualEditor, so I'm going to mark this as WONTFIX.

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


Navigation
Links