https://bugzilla.wikimedia.org/show_bug.cgi?id=65353

--- Comment #2 from Krinkle <[email protected]> ---
We used to parse template content with action=parse from the PHP parser which
naturally contained <a class="new">.

Nowadays we use Parsoid for the generated fragments as well, but this meant we
lost the natural classes MediaWiki provided.

The mw.LinkCache logic should extend to the nodes inside generated content.

I think right now this isn't done because we use the same DOM for both the DM
and the CE of generated content nodes, but, just as we do for practically
everything else, it shouldn't be an issue to have our copy in CE be different
from the copy in DM (thus not having to worry about needing to strip any
classes when saving back to Parsoid).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to