..., right now cxserver tries to adapt the figure-inline using MWImage module. This is unnecessary and waste of time. Adapting the original transclusion is enough.">

⚓ T199529 Do not try to adapt the transclusion fragements (original) (raw)

Suppose there is a transclusion element like <span about="5"data-mw={}... and next to that a ..., right now cxserver tries to adapt the figure-inline using MWImage module. This is unnecessary and waste of time. Adapting the original transclusion is enough.

Checking for the existance of about attribute and missing data-mw attribute will be enough for skipping such a tag from adaptation process.

Also, if this figure-inline is inside the span tag, then also, we don't need to adapt. This will require correctly understanding the context of figure in the Doc.prototype.adapt method