Last modified: 2013-07-12 01:02:50 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 T53039, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51039 - Parsoid sometimes wraps images in an mwPlaceholder (causing the images to be uneditable) - optimisation bug?
Parsoid sometimes wraps images in an mwPlaceholder (causing the images to be ...
Status: RESOLVED DUPLICATE of bug 48900
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-09 14:28 UTC by Excirial
Modified: 2013-07-12 01:02 UTC (History)
6 users (show)

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


Attachments

Description Excirial 2013-07-09 14:28:00 UTC
(Related: BugID 50165)
This seems to be related to the above bug which was marked as fixed, though it seems the same issue seems to be popping up again. If an article contains multiple images that are "stacked" the visual editor seems to misintrepret these as a large uneditable object at times.

Examples:
- https://en.wikipedia.org/w/index.php?title=Lung&oldid=563507889&veaction=edit (First three images)
- https://en.wikipedia.org/w/index.php?title=Gallstone&oldid=563521470&veaction=edit (Images under the infobox)

At the same time, it seems that the visual editor creates inconsistent output for identical revisions. The below revisions are (partial) copies of the [[Lung]] page. 
- https://en.wikipedia.org/w/index.php?title=User:Excirial/Playground/Content&oldid=563510524
- https://en.wikipedia.org/w/index.php?title=User:Excirial/Playground/Content&oldid=563509075

The first revision above was the initial attempt. It seems that (Partially) copying the Lung page allowed the user to edit the page. The second was created by removing sections from the page until the diff was identical to the first page. This version is identical to the first (Diff: https://en.wikipedia.org/w/index.php?title=User%3AExcirial%2FPlayground%2FContent&diff=563510524&oldid=563509075), yet the images in this revision are loaded incorrectly.
Comment 1 James Forrester 2013-07-11 04:57:12 UTC
So when this happens, it's due to Parsoid wrapping the images as Placeholders, IIRC. The individual links are now all working (we re-flushed the cache this afternoon), but that it keeps coming back means there's clearly an underlying issue which we've not fixed. Gabriel, any ideas what might be causing this? (See also bug 50165.)
Comment 2 Gabriel Wicke 2013-07-11 15:24:14 UTC
We wrap images as placeholders currently if those images don't exist. See bug 48900.
Comment 3 Gabriel Wicke 2013-07-12 01:02:50 UTC

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

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


Navigation
Links