Page MenuHomeMiraheze

Mediawiki adds <figure-inline> in de source and this shows up in the text after a Visual editor edit
Closed, ResolvedPublic

Description

When I insert an image in the source interface, for instance [[Filename.jpg|800x800px]], and I save the page, then the image is displayed well. When I subsequently edit the text of the page in de visual editor interface, than Mediawiki adds <figure-inline> tags. The result in the source reads:

<figure-inline>[[Filename.jpg|800x800px]]</figure-inline>

However, de tags remain visibly in the visible tekst when the page is saved. So every page visitor sees the text <figure-inline> on both sides of the image.

Besides, every next time I save the page in the Visual Editor mode, the tag is added again and thereby multiplying, so the result is a string: <figure-inline><figure-inline><figure-inline>etc.

The incident doest not occur when I put the image in a frame. The incident occurs after the latest Mediwiki update.

Event Timeline

Kees_Langeveld updated the task description. (Show Details)Dec 15 2017, 13:36
Reception123 triaged this task as Normal priority.Dec 15 2017, 17:50
Reception123 added subscribers: Void, Reception123.

@Void Ideas?

Void added a comment.Dec 15 2017, 20:21

Not sure, I avoid VisualEditor tbh. I'll see what I can find though.

This comment was removed by Reception123.

Is this still a problem?

I just tested it and found the problem no more.

John closed this task as Resolved.May 3 2018, 21:29
John claimed this task.