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

Add support for French dates #364

Merged
merged 1 commit into from Mar 2, 2024
Merged

Conversation

framawiki
Copy link
Contributor

I’ve tweaked frwiki’s config tons of times to try to understand why the automatic detection of user talk page warning levels was not working properly.

In fact it seems that the format of dates present in the signatures in French is different from English, since we put first the date and then the time while enwiki does the opposite. French specificity was not managed at all yet.

This PR adds a bit of logic for French wikis, and adds a few comments around the way.

I think I managed the memory correctly but do not hesitate to check.

Bug: https://phabricator.wikimedia.org/T352815

I’ve tweaked frwiki’s config tons of times to try to understand why the automatic detect of user talk page warning templates was not working properly.

In fact it seems that the format of dates present in the signatures in French is different from English, since we put first the date and then the time while enwiki does the opposite, and frwiki specificity was not yet managed.

This PR adds a bit of logic for French wikis, and adds a few bits of comments around the way.

I think I managed the memory correctly but do not hesitate to check.
@benapetr benapetr merged commit 939b2a2 into master Mar 2, 2024
13 of 17 checks passed
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.

None yet

2 participants