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

wiktionary: allow for multi-line etymologies #2214

Merged
merged 1 commit into from
Dec 11, 2021

Conversation

dgw
Copy link
Member

@dgw dgw commented Nov 26, 2021

Description

Multi-paragraph etymologies no longer get truncated to only the last line.

If the concatenated etymology is too long to fit in an IRC line, it's safely truncated by the existing logic to handle overly long output.

This patch definitely makes me want to give wiktionary the same kind of makeover that wikipedia got a while back. Which is to say: a proper parser-based implementation instead of...whatever you call this.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

Technically "multi-paragraph", but that's clunky to say.

If the concatenated etymology is too long to fit in an IRC line, it's
safely truncated by the existing logic to handle overly long output.

This patch definitely makes me want to give wiktionary the same kind of
makeover that wikipedia got a while back. Which is to say: a proper
parser-based implementation instead of...whatever you call this.
@dgw dgw added the Bugfix Generally, PRs that reference (and fix) one or more issue(s) label Nov 26, 2021
@dgw dgw added this to the 7.1.7 milestone Nov 26, 2021
@dgw dgw requested a review from a team November 26, 2021 17:51
Copy link
Contributor

@Exirel Exirel left a comment

Choose a reason for hiding this comment

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

I had a nitpick in mind that is not worth the effort, given we all wish a rewrite of whatever "that" is, as you said. Let's roll with that.

@dgw dgw merged commit c19ce62 into master Dec 11, 2021
@dgw dgw deleted the wiktionary-multiline-etymology branch December 11, 2021 01:09
dgw added a commit that referenced this pull request Dec 11, 2021
wiktionary: allow for multi-line etymologies
dgw added a commit that referenced this pull request Dec 11, 2021
wiktionary: allow for multi-line etymologies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix Generally, PRs that reference (and fix) one or more issue(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants