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

Update frwiktionary.py #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update frwiktionary.py #26

wants to merge 1 commit into from

Conversation

WikiLucas00
Copy link
Member

Hi! As reported here, the bot seems to sometimes add two newlines when adding a new pronunciation to frwikt, resulting in blanks in the wiki pages.

As I understand it, it happens when the Prononciation section contains other information than just the audio recordings, i.e. subsections such as "Anagrammes", "Paronymes" etc. See here where it happened: 1, 2, and here where it did not: 3, 4.

I suggest this quick fix, but we may need to look more into details for specific cases where it may be needed to add two newlines.

I don't have the proper setup to test the bot's stack. Could you take a look please?

Removed the addition of two newlines
@WikiLucas00 WikiLucas00 self-assigned this Oct 26, 2023
@WikiLucas00 WikiLucas00 added the bug Something isn't working label Oct 26, 2023
@WikiLucas00
Copy link
Member Author

Hi @0x010C @pamputt @Poslovitch, have any of you had a chance to look at this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant