Skip to content

Conversation

@xxyzz
Copy link
Collaborator

@xxyzz xxyzz commented Nov 26, 2025

Table row separator should on its own line

close tatuylonen/wiktextract#1509, close tatuylonen/wiktextract#1510

Before this change an extra table cell node with text "-" is parsed, el extractor code shouldn't need to change. I have tested that el edition page and the forms data have the correct tags.

Copy link
Collaborator

@kristian-clausal kristian-clausal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this, this looks good to me, and it works.

Took me a while because I was looking at the wrong test in wiktextract. But yeah, |- should always be on its own line, but maybe there's special handling on the wikimedia side that ignores it.

@kristian-clausal kristian-clausal merged commit 9905b1f into tatuylonen:main Nov 26, 2025
6 checks passed
@xxyzz xxyzz deleted the table_row branch November 26, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Wrong table parsing

2 participants