Last modified: 2013-07-29 17:14:43 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 T52363, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50363 - VisualEditor: Hatnote templates not displaying properly
VisualEditor: Hatnote templates not displaying properly
Status: RESOLVED DUPLICATE of bug 49784
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-28 10:55 UTC by Oliver Keyes
Modified: 2013-07-29 17:14 UTC (History)
4 users (show)

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


Attachments
How the hatnote appears in the VE when it is added (100.30 KB, image/png)
2013-06-28 10:55 UTC, Oliver Keyes
Details
How the hatnote appears in "read" mode (100.11 KB, image/png)
2013-06-28 10:55 UTC, Oliver Keyes
Details
How the hatnote appears in subsequent VE loads. (100.59 KB, image/png)
2013-06-28 10:55 UTC, Oliver Keyes
Details

Description Oliver Keyes 2013-06-28 10:55:09 UTC
Created attachment 12674 [details]
How the hatnote appears in the VE when it is added

This takes some effort to replicate, so bear with me; if you insert a hatnote at the beginning of a line, it renders improperly in the VisualEditor - despite rendering properly in the article text, /and/ in subsequent loads of the VE. Screenshots of each attached.

As User:PamD adeptly summarises, "if VE doesn't display the result of a change, or displays it looking wrong, editors are going to assume that their edit didn't work and struggle to "fix" it"
Comment 1 Oliver Keyes 2013-06-28 10:55:24 UTC
Created attachment 12675 [details]
How the hatnote appears in "read" mode
Comment 2 Oliver Keyes 2013-06-28 10:55:40 UTC
Created attachment 12676 [details]
How the hatnote appears in subsequent VE loads.
Comment 3 James Forrester 2013-07-26 22:41:41 UTC
So, I've read this a number of times and I'm not quite sure I know what you're getting at.

Steps:

1. Go into a page
2. Click into a blank line; insert template "Hatnote", parameter 1 = "Foo".
3. Template appears on its own line, as expected.
4. Template saves on its own line, as expected.
5. Page rendered with template in the right place, as expected
6. Edit article.
7. Template is still there in VisualEditor, as expected.

Try two:

1. Go into a page
2. Click into the start of a non-blank line; insert template "Hatnote", parameter 1 = "Foo".
3. Template appears at the start of the line, a little oddly as it's a <div>, because of bug 49784.
4. Template saves at the start of the line, as expected.
5. Page rendered with template on its own line, as expected.
6. Edit article.
7. Template is still there in VisualEditor at the start of the line, as before.

I assume you mean that this is an issue because it doesn't show up on its own line? If so, this is just a plain duplicate of bug 49784.
Comment 4 Oliver Keyes 2013-07-29 17:14:43 UTC
Fair play; marking as duplicate.

*** This bug has been marked as a duplicate of bug 49784 ***

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


Navigation
Links