Page MenuHomePhabricator

Parsoid: this normalization shouldn't take place
Closed, ResolvedPublic

Description

See line 228 and below of https://fr.wikipedia.org/w/index.php?title=Vienne_%28Autriche%29&curid=15839&diff=101387243&oldid=101365362 .
Subbu says on IRC " it could be something in what ve returned, could be a bug with parsoid's mapping of wikitext ranges to HTML ranges .. we'll take a look and see if that can be reproduced."

As for the plain span tag added,
"that is because the wikitext has link-inside-a-link in the ref. .. <ref>[ .. [[..]].. ]</ref> and HTML doesn't support nested A-tags. So, Parsoid splits up that outer link which causes that dirtying and probably showed up as edited ."


Version: unspecified
Severity: normal

Details

Reference
bz61541

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:05 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz61541.

That diff looks as if refs were generally considered dirty and selser was not used for them.

This seems to be a Parsoid issue:

http://parsoid-lb.eqiad.wikimedia.org/_rtselser/frwiki/Utilisateur%3AGWicke%2FTest