diff --git a/mediawiki/CheckUser b/mediawiki/CheckUser new file mode 160000 index 0000000..22076b9 --- /dev/null +++ b/mediawiki/CheckUser @@ -0,0 +1 @@ +Subproject commit 22076b9dc420b74e0021d3d03ee5357bd5fe5dc6 diff --git a/mediawiki/Dockerfile b/mediawiki/Dockerfile index f415426..2d37339 100644 --- a/mediawiki/Dockerfile +++ b/mediawiki/Dockerfile @@ -39,10 +39,6 @@ RUN git clone --depth 1 \ https://gerrit.wikimedia.org/r/mediawiki/extensions/cldr \ /var/www/html/extensions/cldr -RUN git clone --depth 1 \ - https://gerrit.wikimedia.org/r/mediawiki/extensions/CheckUser \ - /var/www/html/extensions/CheckUser - RUN git clone --depth 1 \ https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning \ /var/www/html/extensions/CookieWarning @@ -71,6 +67,12 @@ RUN wget https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/arch && mv mediawiki-extensions-EmbedVideo-3.4.2/* /var/www/html/extensions/EmbedVideo \ && rm v3.4.2.tar.gz +RUN wget https://www.mediawiki.org/wiki/Special:ExtensionDistributor/CheckUser \ + && tar -xvf CheckUser \ + && mkdir -p /var/www/html/extensions/CheckUser \ + && mv CheckUser/* /var/www/html/extensions/CheckUser \ + && rm CheckUser + # Install composer (AWS S3 extension) RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet \ && mv composer.phar /usr/local/bin/composer