Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More other-edition field stuff #482

Merged
merged 4 commits into from
Jan 31, 2024
Merged

More other-edition field stuff #482

merged 4 commits into from
Jan 31, 2024

Conversation

kristian-clausal
Copy link
Collaborator

Because I messed up my testing last time (by forgetting to use "--all" in wiktwords when generating the input json!!!!!), I need to do all the target language htmlgeneration attempts again, which will take a while but isn't complicated (now that I've figured out a procedure).

@kristian-clausal
Copy link
Collaborator Author

Apparently tests are still run in github actions even for drafts, so here's a --forced amended commit with tests.

@kristian-clausal
Copy link
Collaborator Author

kristian-clausal commented Jan 30, 2024

Spanish wiktionary has some template calls that we assume have args, but don't; basically, just

=== Etimología ===
{{etimología}}

So in this case the change is more appropriate on the kaikki.org side of things...

EDIT: Actually, just don't add an empty etymology template to the data.

For example "ipa" should not be a list inside a larger
"sounds" list entry; if there are several "ipa" entries,
make them separate "sounds" list entries, with their own
tags etc. if necessary.
There's a lot of kludge here, so the next commit is probably
just... going to nuke this completely. Committing this to keep
the history, just in case there's something useful here.
Really, all the previous kludges in the previous commit are
unnecessary if I'd just realized we only want to keep
etymology template data for *etymology templates*, not
just any template. So a simple substring check should suffice.
It is unlikely that there are any conflicting templates
with "etim" in their name, but possible.
@kristian-clausal kristian-clausal marked this pull request as ready for review January 31, 2024 10:22
@kristian-clausal kristian-clausal merged commit b03fb53 into master Jan 31, 2024
10 checks passed
@kristian-clausal kristian-clausal deleted the de-ipa branch January 31, 2024 10:38
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.

1 participant