Page MenuHomePhabricator

[error/normalize] href is missing from a tag
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[error/normalize] href is missing from a tag <a data-object-id="210"><img resource="./Soubor:Ponte di San Rocco 2.JPG" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/Ponte_di_San_Rocco_2.JPG/135px-Ponte_di_San_Rocco_2.JPG" width="90" height="120
Impact

Log spam - several tens thousands of warnings a day, from ~all wikis

Notes

This is a consequence of https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/831077/ - now that we're processing output from extensions, links that were previously not processed now are.
This has no consequence on rendering/roundtripping, because these tags are not used in re-serialization to wikitext.

Details

Request URL
https://cs.wikipedia.org/w/rest.php/cs.wikipedia.org/v3/transform/pagebundle/to/wikitext/Vimercate/21784528

Event Timeline

ihurbain created this task.

Change 844964 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/services/parsoid@master] Remove "href missing in a" warning

https://gerrit.wikimedia.org/r/844964

Change 844964 abandoned by Isabelle Hurbain-Palatin:

[mediawiki/services/parsoid@master] Remove "href missing in a" warning

Reason:

re-submitting this on its own branch for better personal tracking

https://gerrit.wikimedia.org/r/844964

Change 844966 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/services/parsoid@master] Remove "href missing in a" warning

https://gerrit.wikimedia.org/r/844966

[error/normalize] href is missing from a tag <a data-object-id="210"><img resource="./Soubor:Ponte di San Rocco 2.JPG" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/Ponte_di_San_Rocco_2.JPG/135px-Ponte_di_San_Rocco_2.JPG" width="90" height="120

This specific case is coming from galleries,
https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/master/modules/ve-mw/dm/nodes/ve.dm.MWGalleryImageNode.js#L135-L140

Change 844966 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Remove "href missing in a" warning

https://gerrit.wikimedia.org/r/844966

Change 848417 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.17.0-a4

https://gerrit.wikimedia.org/r/848417

Change 848417 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.17.0-a4

https://gerrit.wikimedia.org/r/848417

ssastry subscribed.

Being deployed this week.