Skip to content

fix(dockerfile): intl php extension is not installed#136

Merged
m90 merged 1 commit intomainfrom
fr/intl-extension
Jun 4, 2024
Merged

fix(dockerfile): intl php extension is not installed#136
m90 merged 1 commit intomainfrom
fr/intl-extension

Conversation

@m90
Copy link
Copy Markdown
Contributor

@m90 m90 commented Jun 3, 2024

Link to Phabricator

https://phabricator.wikimedia.org/T365916

Prior discussion

None

Describe the changes

Certain code paths in Quickstatements try to call normalizer_normalize, which currently throws an unhandled exception as the global function is not available.
The function is provided by the intl extension, so this PR fixes the problem by installing the extension in the Docker image.
The way of installing the extension is copied verbatim (plus version pins) from the wikibase-release-pipeline.

This is what I need help with

I tested this locally using the steps provided in the ticket, but as I am far from a Quickstatements expert, it'd be good if the reviewer can confirm that this works for them as well locally.

In certain scenarios the code in quickstatements tries to call
the global `normalizer_normalize` function which is not available
unless the `intl` extension is installed.

Ticket: https://phabricator.wikimedia.org/T365916
@m90 m90 force-pushed the fr/intl-extension branch from 8a6f181 to 48c1beb Compare June 3, 2024 13:16
@m90 m90 merged commit 7a50ebf into main Jun 4, 2024
@m90 m90 deleted the fr/intl-extension branch June 4, 2024 14:07
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.

2 participants