From f6c8d4e0e9da4d93f617db98306a557b92a5c8a0 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Thu, 1 Aug 2024 13:29:55 -0400 Subject: [PATCH] add cldr extension --- mediawiki/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mediawiki/Dockerfile b/mediawiki/Dockerfile index aeb640a..97ad421 100644 --- a/mediawiki/Dockerfile +++ b/mediawiki/Dockerfile @@ -35,6 +35,10 @@ RUN git clone --depth 1 \ https://gerrit.wikimedia.org/r/mediawiki/extensions/DismissableSiteNotice \ /var/www/html/extensions/DismissableSiteNotice +RUN git clone --depth 1 \ + git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/cldr \ + /var/www/html/extensions/cldr + RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \ && unzip main.zip \ && mkdir -p /var/www/html/skins/Citizen \ @@ -53,4 +57,11 @@ RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93 COPY composer.local.json /var/www/html/composer.local.json +RUN cd /var/www/html/extensions/cldr \ + && wget http://www.unicode.org/Public/cldr/latest/core.zip \ + && unzip core.zip -d core \ + && rm core.zip \ + && php rebuild.php \ + && cd - + RUN cd /var/www/html && composer update && cd -