Last modified: 2013-12-03 23:18:07 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 T54374, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52374 - Stray bullet points around template and strange editing around them
Stray bullet points around template and strange editing around them
Status: RESOLVED DUPLICATE of bug 47673
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
https://www.mediawiki.org/wiki/User:S...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-01 08:22 UTC by Dan Wolff
Modified: 2013-12-03 23:18 UTC (History)
7 users (show)

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


Attachments
Screenshot: 2 extra bullet points & template content edited (91.66 KB, image/png)
2013-08-01 08:22 UTC, Dan Wolff
Details

Description Dan Wolff 2013-08-01 08:22:50 UTC
Created attachment 13042 [details]
Screenshot: 2 extra bullet points & template content edited

Browser: Firefox 24

When editing this page[1] on sv-wp two weird things happen:

1) The bullet point on the bottom of the page duplicates into three bullet points

I expect it to show one bullet point, like when viewing the article.


2) I can edit the text of the template used in the list[2], though when I check the diff, it hasn't detected that I edited the template text

I expect the text of the template to show a blue background when clicking on it and *not* be editable.


[1]  https://sv.wikipedia.org/w/index.php?title=Byrackorna&oldid=22981861
[2]  https://sv.wikipedia.org/wiki/Mall:IMDb-titel
Comment 1 Dan Wolff 2013-08-01 08:23:55 UTC
This is probably a ContentEditable problem.
Comment 2 Dan Wolff 2013-08-01 08:31:20 UTC
And further weirdness:

When I add the text 'ABC' to the first of the now three bullet points I get the following wikitext:

* {{IMDb-titel|id=0105928}}ABC
* ''[ackorna''' (originaltitel ''2 Stupid Byrackorna]'' på [[Internet Movie Database]] <span style="font-size:.95em;font-weight:bold;color:#555;">(engelska)</span>
*
Comment 3 Dan Wolff 2013-08-01 22:04:25 UTC
Reproduced in Chrome 28 and Opera 12.16.
Comment 4 Dan Wolff 2013-08-02 23:33:53 UTC
I believe I found the root cause - demonstrated by a minimal test case: https://www.mediawiki.org/wiki/User:Skalman/bullet_point_test

Wikitext of template:
* {{{1}}}

Wikitext of page:
* {{template|Hello there}}

Expected output (the way the traditional parser handles it):
* Hello there

Note that a naive wikitext template expander would produce:
* * Hello there

To me, this now seems to be a problem with the data model.


FWIW, even Special:ExpandTemplates seems to be affected by this bug!
Comment 5 James Forrester 2013-09-22 11:32:57 UTC
This is a duplicate of a Parsoid bug that has been WONTFIX'ed, I believe (but I can't find right now) - Gabriel, can you remember which one?

(In reply to comment #4)
> FWIW, even Special:ExpandTemplates seems to be affected by this bug!

… which is a sign that you're abusing wikitext, and should stop trying to get this to work. :-) Special:ExpandTemplates has nothing to do with VisualEditor or Parsoid.
Comment 6 Gabriel Wicke 2013-12-03 23:18:07 UTC
This is a known tidy issue, so marking as a duplicate.

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

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


Navigation
Links